CMake/Tests/RunCMake
Brad King d06db7ebe8 try_compile: Refactor argument processing
Process all arguments in a single loop using a simple state machine.
While at it, fix some error message typos.  Also allow LINK_LIBRARIES
with no actual libraries to disable use of the -DLINK_LIBRARIES=...
from the CMAKE_FLAGS.  This was already possible in the old logic if
LINK_LIBRARIES was immediately followed by another keyword argument
instead of the end of the argument list, so allow it in general.
Update the RunCMake.try_compile test cases accordingly.
2013-05-31 10:01:50 -04:00
..
CMP0004 Add the $<TARGET_POLICY> expression 2013-01-17 17:20:17 +01:00
CMP0019 Add policy CMP0019 to skip include/link variable re-expansion 2012-12-07 09:51:19 -05:00
CTest CTest: Fail early without PROJECT_BINARY_DIR (#14005) 2013-03-12 18:20:44 -04:00
CompatibleInterface Report an error on IMPORTED targets with a faulty INTERFACE 2013-03-26 10:45:28 -04:00
CompilerChange Test Unix Makefiles generator support for changing compilers 2013-02-20 08:01:06 -05:00
ExternalData ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
FPHSA FPHSA: Convert FOUND_VAR failure test to RunCMake 2013-02-22 08:57:11 -05:00
File_Generate file: Add GENERATE command to produce files at generate time 2013-05-24 09:02:45 -04:00
GeneratorExpression Make it an error for INSTALL_PREFIX to be evaluated. 2013-01-31 17:27:06 +01:00
GeneratorToolset Tests: Add generator toolset support 2013-02-07 11:09:56 -05:00
IncompatibleQt FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore 2013-03-18 09:31:33 -04:00
Languages Do not crash on SHARED library without language (#13324) 2012-06-20 11:26:05 -04:00
ObjectLibrary Test OBJECT library language propagation 2012-03-16 10:12:30 -04:00
PositionIndependentCode Process the INTERFACE_PIC property from linked dependencies 2013-01-10 09:54:52 -05:00
SolutionGlobalSections Add tests for VS_SOLUTION_GLOBAL_SECTIONS 2012-11-16 08:16:10 -05:00
TargetPropertyGeneratorExpressions Fix spelling and typos (affecting binary data / module messages) 2013-05-07 08:39:19 -04:00
add_dependencies add_dependencies: Distinguish target v. file dependencies in error (#14050) 2013-03-29 15:00:33 -04:00
build_command build_command: Fail early without CMAKE_MAKE_PROGRAM (#14005) 2013-03-12 18:17:40 -04:00
find_package find_package: Test rejection of required+optional components 2012-03-19 10:53:36 -04:00
get_filename_component get_filename_component: Add DIRECTORY option (#14091) 2013-04-16 09:37:37 -04:00
if if: Add test for IS_DIRECTORY 2013-05-28 11:35:32 -04:00
include include: Ignore empty string as file name (#13388) 2012-07-10 11:05:04 -04:00
include_directories Merge topic 'error-on-exported-missing-include-dir' 2013-05-21 15:13:26 -04:00
include_external_msproject Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
list list: Handle errors on empty lists more gracefully (#13138) 2012-04-17 11:07:07 -04:00
try_compile try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
CMakeLists.txt try_compile: Add test for bad call error cases 2013-05-31 10:00:42 -04:00
RunCMake.cmake Tests/RunCMake: Allow tests to control build tree behavior 2013-02-18 10:47:27 -05:00