Part 2 : Simple use
To be able to use PhoenixCMake you can use the find_package function :
1 |
find_package(PhoenixCMake REQUIRED) |
Then, you can define your project (name, version, description, url) :
1 2 3 4 5 |
find_package(PhoenixCMake REQUIRED) phoenix_base_project("PhoenixCMake" "1.8.7" "PhoenixCMake : set of function to simplify CMake use" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixCMake") |