Tells what mode the current running script is in. Could be one of several values:
PROJECT
CMakeLists.txt
file).SCRIPT
-P
script mode.FIND_PACKAGE
--find-package
mode.CTEST
CPACK
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/prop_gbl/CMAKE_ROLE.html