Skip to content

Library versioning

Installation program

The program phoenix_install can install any project based on PhoenixCMake and can be used as follow:

phoenix_install https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/PhoenixString.git
For now, it only manages git repositories.

You can provide another argument to this program to switch to another branch, tag or commit hash of the project url:

phoenix_install https://gitlab.in2p3.fr/CTA-LAPP/PHOENIX_LIBS2/PhoenixString.git master

Automatic uninstall

Function phoenix_install() allows to generate a program which can uninstall automatically the current project.

Example, for project PhoenixString:

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_LIBS2/PhoenixString")

Now the call to phoenix_install() is included into phoenix_base_project so you do not have to call it explicitly anymore.