mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08: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)
|