CMake/Tests/RunCMake/try_compile
Brad King 88eb5824da try_compile: Pass linker flags into test project (#14066)
Copy CMAKE_EXE_LINKER_FLAGS into the test project generated by
try_compile, just like we already copy CMAKE_<LANG>_FLAGS.

Add CMake Policy CMP0056 to activate this behavior in a compatible way,
but do not warn by default when the policy is not set since it will
affect all try_compile calls.

Extend the RunCMake.try_compile test with a case covering this behavior
for each policy setting.
2014-12-03 15:30:22 -05:00
..
proj
BadLinkLibraries-result.txt
BadLinkLibraries-stderr.txt
BadLinkLibraries.cmake
BadSources1-result.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources1-stderr.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources1.cmake try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources2-result.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources2-stderr.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
BadSources2.cmake try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
CMP0056-stderr.txt try_compile: Pass linker flags into test project (#14066) 2014-12-03 15:30:22 -05:00
CMP0056-stdout.txt try_compile: Pass linker flags into test project (#14066) 2014-12-03 15:30:22 -05:00
CMP0056.cmake try_compile: Pass linker flags into test project (#14066) 2014-12-03 15:30:22 -05:00
CMakeLists.txt Cygwin: Avoid legacy warnings in RunCMake.* tests 2013-08-13 09:50:15 -04:00
CopyFileErrorNoCopyFile-result.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
CopyFileErrorNoCopyFile-stderr.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
CopyFileErrorNoCopyFile.cmake try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoArgs-result.txt
NoArgs-stderr.txt
NoArgs.cmake
NoCopyFile-result.txt
NoCopyFile-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFile.cmake
NoCopyFile2-result.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFile2-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFile2.cmake try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoCopyFileError-result.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoCopyFileError-stderr.txt try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoCopyFileError.cmake try_compile: Add COPY_FILE_ERROR option to capture failure 2013-07-15 09:16:36 -04:00
NoOutputVariable-result.txt
NoOutputVariable-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoOutputVariable.cmake
NoOutputVariable2-result.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoOutputVariable2-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoOutputVariable2.cmake try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NoSources-result.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
NoSources-stderr.txt try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
NoSources.cmake try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
NonSourceCompileDefinitions-result.txt
NonSourceCompileDefinitions-stderr.txt try_compile: Refactor argument processing 2013-05-31 10:01:50 -04:00
NonSourceCompileDefinitions.cmake
NonSourceCopyFile-result.txt
NonSourceCopyFile-stderr.txt
NonSourceCopyFile.cmake
OneArg-result.txt
OneArg-stderr.txt
OneArg.cmake
RunCMakeTest.cmake try_compile: Pass linker flags into test project (#14066) 2014-12-03 15:30:22 -05:00
TwoArgs-result.txt
TwoArgs-stderr.txt
TwoArgs.cmake
src.c