cforge-variables(7)ΒΆ

Warning

Page under construction

This page documents variables that are provided by CMake or have meaning to CMake when set by project code.

For general information on variables, see the Variables section in the cmake-language manual.

Note

CForge reserves identifiers that:

  • begin with CFORGE_ (upper-, lower-, or mixed-case), or

  • begin with _CFORGE_ (upper-, lower-, or mixed-case).

CForge defines some internal variables that should never be modified by the user. They must all start with the _CFORGE_ prefix, and must not be visible to the user (unless strictly necessary).

Variables dedicated to CForge must all start with the CFORGE_ prefix, and must not be visible to the user (unless strictly necessary). They may only be defined from one of CForge CMakeLists.txt or included script, but never from a module imported by the user (directly or transitively).

For variables defined in a module imported by the user (either directly or transitively) refer to Identifiers naming rules in the CForge modules manual page.