set — CMake 3.7.2 Documentation
https://cmake.org/cmake/help/v3.7/command/set.htmlset¶. Set a normal, cache, or environment variable to a given value. See the cmake-language(7) variables documentation for the scopes and interaction of normal variables and cache entries.. Signatures of this command that specify a <value>... placeholder expect zero or more arguments. Multiple arguments will be joined as a ;-list to form the actual variable value to be set.
cmake(1) — CMake 3.23.0-rc2 Documentation
cmake.org › cmake › helpThe given file should be a CMake script containing set () commands that use the CACHE option, not a cache-format file. References to CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR within the script evaluate to the top-level source and build tree. -D <var>:<type>=<value>, -D <var>=<value> Create or update a CMake CACHE entry.