CMake/Tests/RunCMake/XcodeProject/XcodeObjectNeedsEscape.cmake

4 lines
111 B
CMake

enable_language(CXX)
string(APPEND CMAKE_CXX_FLAGS " -DKDESRCDIR=\\\"foo\\\"")
add_library(foo STATIC foo.cpp)