CMake/Tests/TryCompile
Brad King 290857bb03 try_compile: Escape CMAKE_<lang>_FLAGS in test projects (#14268)
If CMAKE_<lang>_FLAGS contains quotes or other CMake language characters
they must be escaped when written into the generated CMakeLists.txt file
so that the test project parses them properly.

Teach the TryCompile test to cover this case by adding a flag with
quotes into CMAKE_C_FLAGS during a C language try_compile.
2013-07-15 09:14:56 -04:00
..
Inner No /fast targets in try_compile project mode 2009-08-04 14:37:46 -04:00
CMakeLists.txt try_compile: Escape CMAKE_<lang>_FLAGS in test projects (#14268) 2013-07-15 09:14:56 -04:00
exit_success.c ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now 2007-06-01 11:16:29 -04:00
exit_with_error.c ENH: improve TRY_RUN() for crosscompiling: instead of just failing, it now 2007-06-01 11:16:29 -04:00
expect_arg.c Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
fail.c ENH: add a new test to test try compile 2003-02-10 13:19:34 -05:00
fail2a.c try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
fail2b.c try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
pass.c Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
pass2a.c try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
pass2b.cxx try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
testdef.c try_compile: Escape CMAKE_<lang>_FLAGS in test projects (#14268) 2013-07-15 09:14:56 -04:00