Home

This library provides cmake functions to:

  • Gather project information (name, version, description, url) to create distribution packages (handled by cpack eg tar.gz, sh, .deb, .rpm)
  • Build help for cmake options (after calling cmake, use make helpoption to see which variables can be changed and what are their purpose)
  • generate FindProject.cmake files
  • automatically create documentation targets with customized Doxyfile (make doc will call doxygen with proper Doxyfile)
  • Download and install dependencies from the phoenix ecosystem
  • set library file names and links based on project name and version (install libmyproject.so and libmyproject_1.so both links to libmyproject_1.0.0.so)
  • Provides C++ header with the version of the project, current git branch and commit hash (version.h included in package)
  • Provides uninstall, install (from url) and update (from sources) programs (myproject_uninstall program)
  • Handle Linux or Mac installation paths
  • install in pixi/conda/micromamba installation prefix
  • Provide helper programs displaying projects' installation information (versions, install location, etc.)