summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject/XcodeXCConfig.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-05 12:24:19 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-04-05 12:24:28 (GMT)
commiteea53ea0a919b3c3f444433106ef578fcc429e5f (patch)
tree80b067a8bb001cb95d3b412882a913c41566b5e9 /Tests/RunCMake/XcodeProject/XcodeXCConfig.c
parent7e1095751f560d0ffcd7adf22946b5166c61a49f (diff)
parent53ca6edd8aefcb6456755f2de48d2d1375d6df7f (diff)
downloadCMake-eea53ea0a919b3c3f444433106ef578fcc429e5f.zip
CMake-eea53ea0a919b3c3f444433106ef578fcc429e5f.tar.gz
CMake-eea53ea0a919b3c3f444433106ef578fcc429e5f.tar.bz2
Merge topic 'xcode-xcconfig'
53ca6edd8a xcode: add support for xcconfig files 183b6bbf51 Tests: Ignore all classes in Xcode internal objc warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7119
Diffstat (limited to 'Tests/RunCMake/XcodeProject/XcodeXCConfig.c')
-rw-r--r--Tests/RunCMake/XcodeProject/XcodeXCConfig.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/Tests/RunCMake/XcodeProject/XcodeXCConfig.c b/Tests/RunCMake/XcodeProject/XcodeXCConfig.c
new file mode 100644
index 0000000..ac59a6b
--- /dev/null
+++ b/Tests/RunCMake/XcodeProject/XcodeXCConfig.c
@@ -0,0 +1,20 @@
+#ifndef BUILD_DEBUG
+# error BUILD_DEBUG is undefined
+#endif
+#ifndef GLOBAL_DEBUG
+# error GLOBAL_DEBUG is undefined
+#endif
+#ifndef TARGET_DEBUG
+# error TARGET_DEBUG is undefined
+#endif
+
+#if GLOBAL_DEBUG != BUILD_DEBUG
+# error GLOBAL_DEBUG does not match BUILD_DEBUG
+#endif
+#if TARGET_DEBUG != BUILD_DEBUG
+# error TARGET_DEBUG does not match BUILD_DEBUG
+#endif
+
+void some_symbol()
+{
+}