CetCMakeEnv

This module defines the principal bootstrap function cet_cmake_env() defining the cetmodules build environment for the current project.

cet_cmake_env

Set up the cetmodules build environment for the current project.

cet_cmake_env([NO_INSTALL_PKGMETA])

Options

NO_INSTALL_PKGMETA

Under normal circumstances, cet_cmake_env() will call install_pkgmeta() to automatically find LICENSE and README files and install them. Specify NO_INSTALL_PKGMETA if you wish to call install_pkgmeta() yourself (or not at all).

Notes

Note

Prior to calling cet_cmake_env():

  • The current project must have been initialized via project()

  • Any initial or override values for project variables should be set.

See also

cet_finalize()

Variables affecting behavior