mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-26 04:09:35 +03:00
The behavior differs by platform and if the variable is already set. Encode existing behavior in tests to preserve it until intentionally changed. Issue: #27285
18 lines
360 B
CMake
18 lines
360 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(CacheErrors)
|
|
run_cmake(ParentScope)
|
|
run_cmake(ParentPulling)
|
|
run_cmake(ParentPullingRecursive)
|
|
run_cmake(UnknownCacheType)
|
|
run_cmake(ExtraEnvValue)
|
|
|
|
# set(CACHE{}) syntax
|
|
run_cmake(CacheUnknownArguments)
|
|
run_cmake(CacheMissingArguments)
|
|
run_cmake(CacheWrongTYPE)
|
|
run_cmake(CacheSetUnset)
|
|
|
|
# set(ENV{}) syntax
|
|
run_cmake_script(Env)
|