diff options
author | Brad King <brad.king@kitware.com> | 2016-10-28 15:18:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-28 15:18:15 (GMT) |
commit | 9a58517df4168a5d928b715fcaa96fc24df9b40c (patch) | |
tree | 0cd62836b7d656303510e43465ef140f8923815f /Tests/RunCMake/XcodeProject/PerConfigPerSourceFlags.cmake | |
parent | 1e4bb358946a100ea04bbc97f8195b90b44a5e9c (diff) | |
download | CMake-9a58517df4168a5d928b715fcaa96fc24df9b40c.zip CMake-9a58517df4168a5d928b715fcaa96fc24df9b40c.tar.gz CMake-9a58517df4168a5d928b715fcaa96fc24df9b40c.tar.bz2 |
Tests: Add case for Xcode per-config per-source COMPILE_FLAGS diagnostic
Diffstat (limited to 'Tests/RunCMake/XcodeProject/PerConfigPerSourceFlags.cmake')
-rw-r--r-- | Tests/RunCMake/XcodeProject/PerConfigPerSourceFlags.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/PerConfigPerSourceFlags.cmake b/Tests/RunCMake/XcodeProject/PerConfigPerSourceFlags.cmake new file mode 100644 index 0000000..99cec5b --- /dev/null +++ b/Tests/RunCMake/XcodeProject/PerConfigPerSourceFlags.cmake @@ -0,0 +1,3 @@ +enable_language(C) +add_executable(main main.c) +set_property(SOURCE main.c PROPERTY COMPILE_FLAGS "$<$<CONFIG:Debug>:-DMYDEBUG>") |