I made two simple changes to make including clara in some cmake projects easier:
1) defined an interface library that other targets could reference. This doesn't go all out and export targets,etc. as I primarily develop on linux and am not sure how to do that in a windows friendly way. But at least it reduces basic cmake (version > 3.11) inclusion to something like:
I made two simple changes to make including clara in some cmake projects easier:
1) defined an interface library that other targets could reference. This doesn't go all out and export targets,etc. as I primarily develop on linux and am not sure how to do that in a windows friendly way. But at least it reduces basic cmake (version > 3.11) inclusion to something like:
2) added an option to skip building the tests if clara is not the top level project.