summaryrefslogtreecommitdiffstats
path: root/Tests/TryCompile/testdef.c
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Escape CMAKE_<lang>_FLAGS in test projects (#14268)Brad King2013-07-151-0/+4
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.