2012-08-13 17:49:53 +04:00
|
|
|
include(RunCMake)
|
|
|
|
|
2012-08-13 18:00:32 +04:00
|
|
|
run_cmake(BadCONFIG)
|
2012-08-13 17:49:53 +04:00
|
|
|
run_cmake(BadOR)
|
|
|
|
run_cmake(BadAND)
|
|
|
|
run_cmake(BadNOT)
|
2012-10-04 02:34:03 +04:00
|
|
|
run_cmake(BadStrEqual)
|
2012-11-27 01:43:13 +04:00
|
|
|
run_cmake(BadZero)
|
2012-12-10 14:33:23 +04:00
|
|
|
run_cmake(BadTargetName)
|
2015-05-26 18:51:34 +03:00
|
|
|
run_cmake(BadTargetTypeInterface)
|
2013-11-01 18:14:47 +04:00
|
|
|
run_cmake(BadTargetTypeObject)
|
2013-01-30 20:49:47 +04:00
|
|
|
run_cmake(BadInstallPrefix)
|
2013-12-26 18:59:55 +04:00
|
|
|
run_cmake(CMP0044-WARN)
|
2014-05-29 00:02:57 +04:00
|
|
|
run_cmake(NonValidTarget-C_COMPILER_ID)
|
|
|
|
run_cmake(NonValidTarget-CXX_COMPILER_ID)
|
|
|
|
run_cmake(NonValidTarget-C_COMPILER_VERSION)
|
|
|
|
run_cmake(NonValidTarget-CXX_COMPILER_VERSION)
|
|
|
|
run_cmake(NonValidTarget-TARGET_PROPERTY)
|
|
|
|
run_cmake(NonValidTarget-TARGET_POLICY)
|
2015-02-22 19:43:13 +03:00
|
|
|
run_cmake(COMPILE_LANGUAGE-add_custom_target)
|
|
|
|
run_cmake(COMPILE_LANGUAGE-add_custom_command)
|
|
|
|
run_cmake(COMPILE_LANGUAGE-install)
|
|
|
|
run_cmake(COMPILE_LANGUAGE-target_sources)
|
|
|
|
run_cmake(COMPILE_LANGUAGE-add_executable)
|
|
|
|
run_cmake(COMPILE_LANGUAGE-add_library)
|
|
|
|
run_cmake(COMPILE_LANGUAGE-add_test)
|
2014-11-26 00:47:44 +03:00
|
|
|
run_cmake(COMPILE_LANGUAGE-unknown-lang)
|
2015-08-11 22:19:03 +03:00
|
|
|
run_cmake(TARGET_FILE-recursion)
|
2015-08-14 23:35:58 +03:00
|
|
|
run_cmake(OUTPUT_NAME-recursion)
|
2014-07-25 00:18:21 +04:00
|
|
|
|
2015-08-03 22:28:41 +03:00
|
|
|
run_cmake(ImportedTarget-TARGET_PDB_FILE)
|
2014-07-25 00:18:21 +04:00
|
|
|
if(LINKER_SUPPORTS_PDB)
|
|
|
|
run_cmake(NonValidTarget-TARGET_PDB_FILE)
|
|
|
|
run_cmake(ValidTarget-TARGET_PDB_FILE)
|
|
|
|
else()
|
|
|
|
run_cmake(NonValidCompiler-TARGET_PDB_FILE)
|
|
|
|
endif()
|