summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FindBoost/RunCMakeTest.cmake
blob: 851a996db59d08c3ab3f7108042c256e4213318c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
include(RunCMake)
unset(ENV{Boost_ROOT})

run_cmake(CMakePackage)
run_cmake(NoCXX)

run_cmake(LegacyVars-TargetsDefined) # "Good" BoostConfig
run_cmake(LegacyVars-LowercaseTargetPrefix)
set(RunCMake-stdout-file LegacyVars-TargetsDefined-stdout.txt)
run_cmake(LegacyVars-NoHeaderTarget)

unset(RunCMake-stdout-file)
run_cmake(MissingTarget)

set(RunCMake-stdout-file CommonResults-stdout.txt)
run_cmake(ConfigMode)
run_cmake(ModuleMode)
unset(RunCMake-stdout-file)
set(RunCMake-stdout-file CommonNotFound-stdout.txt)
set(RunCMake-stderr-file CommonNotFound-stderr.txt)
run_cmake(ConfigModeNotFound)
run_cmake(ModuleModeNotFound)
unset(RunCMake-stdout-file)
unset(RunCMake-stderr-file)

run_cmake(CMP0093-NEW)
run_cmake(CMP0093-OLD)
run_cmake(CMP0093-UNSET)