Clara icon indicating copy to clipboard operation
Clara copied to clipboard

Provide CMake INTERFACE and INSTALL

Open samaursa opened this issue 8 years ago • 1 comments

It would be nice to use the newer CMake INTERFACE option in conjunction with add_library and the appropriate install entries in the CMakeLists.txt.

It would also be nice to add the tests explicitly using add_test so that ctest can be run easily.

samaursa avatar Nov 14 '17 14:11 samaursa

It would be nice to use the newer CMake INTERFACE option in conjunction with add_library and the appropriate install entries in the CMakeLists.txt.

Please yes. It makes working with cmake and package management so much easier if all dependencies follow standard cmake best practices.

And once you do this: Please make #incluude <clara/clara.h> the default way to use it (just as with catch).

MikeGitb avatar Nov 19 '18 11:11 MikeGitb