Part 9 : Automatic uninstall
Function phoenix_install() allows to generate a program which can uninstall automatically the current project.
Example, for project PhoenixString :
1 2 3 4 5 |
find_package(PhoenixCMake REQUIRED) phoenix_base_project("PhoenixString" "1.8.7" "Set of tools to simplify string manipulation" "https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS/PhoenixString") |
Now the call to phoenix_install() is included into phoenix_base_project so you do not have to call it explicitly anymore.