cmake/Tests/RunCMake/get_property/RunCMakeTest.cmake

39 lines
1.1 KiB
CMake
Raw Normal View History

2015-04-27 22:25:09 +02:00
include(RunCMake)
run_cmake(cache_properties)
run_cmake(directory_properties)
2021-09-14 00:13:48 +02:00
run_cmake(get_directory_property_empty)
run_cmake(get_directory_property_missing)
run_cmake(get_directory_property_missingWithDir)
2015-04-27 22:25:09 +02:00
run_cmake(global_properties)
run_cmake(install_properties)
run_cmake(source_properties)
2020-08-30 11:54:41 +02:00
run_cmake(source_properties_failures)
2015-04-27 22:25:09 +02:00
run_cmake(target_properties)
run_cmake(test_properties)
2015-08-17 11:37:30 +02:00
run_cmake(DebugConfigurations)
2015-11-17 17:22:37 +01:00
run_cmake(MissingArgument)
run_cmake(GlobalName)
run_cmake(BadTest)
run_cmake(BadTarget)
run_cmake(BadScope)
run_cmake(BadDirectory)
run_cmake(BadArgument)
run_cmake(VariableName)
run_cmake(NoTest)
run_cmake(NoTarget)
run_cmake(NoSource)
run_cmake(NoProperty)
run_cmake(NoCache)
2017-07-20 19:35:53 +02:00
2018-04-23 21:13:27 +02:00
# Since we are testing the GENERATOR_IS_MULTI_CONFIG property itself,
# don't rely on RunCMake_GENERATOR_IS_MULTI_CONFIG being set correctly
# and instead explicitly check for a match against those generators we
# expect to be multi-config
2020-08-30 11:54:41 +02:00
if(RunCMake_GENERATOR MATCHES "Visual Studio|Xcode|Ninja Multi-Config")
2017-07-20 19:35:53 +02:00
run_cmake(IsMultiConfig)
else()
run_cmake(NotMultiConfig)
endif()