290857bb03
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. |
||
---|---|---|
.. | ||
Inner | ||
CMakeLists.txt | ||
exit_success.c | ||
exit_with_error.c | ||
expect_arg.c | ||
fail.c | ||
fail2a.c | ||
fail2b.c | ||
pass.c | ||
pass2a.c | ||
pass2b.cxx | ||
testdef.c |