Closed apollo13 closed 7 years ago
Thanks for the PR!
Looks good, but I think we could go further.
CMakeLists.txt 1.1 remove definition of variables: LIB_MAJOR_VERSION, LIB_MINOR_VERSION, LIB_REVISION_VERSION and LIB_VERSION 1.2 in set_target_properties() we could use PROJECT_VERSION and PROJECT_VERSION_MAJOR variables instead of deleted variables
tests/CMakeLists.txt 2.1 Do not remove cmake_minimum_required() and project() 2.2 Remove variable BINARY_NAME and use PROJECT_NAME instead
LIB_*
etc…cmake_minimum_required/project
? It serves no purpose especially since the tests cannot be build on their own (they rely on the existence of upper directory variables).
It should even be possible to get rid of the
LIB_*
variables if wanted.