summaryrefslogtreecommitdiffstats
path: root/Tests/MSVCDebugInformationFormat/verify.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-09-14 13:21:08 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-09-14 13:21:27 (GMT)
commitc3e68020d61ae306261b4f953947483a960edf32 (patch)
tree49ab480611211dd6ee15714192dd8e29d22cbe7f /Tests/MSVCDebugInformationFormat/verify.h
parente457663ac15e138ce7618d2f74c9656665ab139b (diff)
parenta858466aacb046a953367aeb2ee6c456812fc2dd (diff)
downloadCMake-c3e68020d61ae306261b4f953947483a960edf32.zip
CMake-c3e68020d61ae306261b4f953947483a960edf32.tar.gz
CMake-c3e68020d61ae306261b4f953947483a960edf32.tar.bz2
Merge topic 'MsvcDebugInformationFormatAbstraction'
a858466aac MSVC: Add test for debug information format 0e96a20478 MSVC: Add abstraction for debug information format d4c8111da4 Clang/Windows: Clarify name of internal runtime library flags variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7606
Diffstat (limited to 'Tests/MSVCDebugInformationFormat/verify.h')
-rw-r--r--Tests/MSVCDebugInformationFormat/verify.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Tests/MSVCDebugInformationFormat/verify.h b/Tests/MSVCDebugInformationFormat/verify.h
new file mode 100644
index 0000000..4bd6529
--- /dev/null
+++ b/Tests/MSVCDebugInformationFormat/verify.h
@@ -0,0 +1,29 @@
+#ifdef VERIFY_Z7
+# ifndef TEST_Z7
+# error "TEST_Z7 incorrectly not defined by debug format selection"
+# endif
+#else
+# ifdef TEST_Z7
+# error "TEST_Z7 incorrectly defined by non-debug format selection"
+# endif
+#endif
+
+#ifdef VERIFY_Zi
+# ifndef TEST_Zi
+# error "TEST_Zi incorrectly not defined by debug format selection"
+# endif
+#else
+# ifdef TEST_Zi
+# error "TEST_Zi incorrectly defined by non-debug format selection"
+# endif
+#endif
+
+#ifdef VERIFY_ZI
+# ifndef TEST_ZI
+# error "TEST_ZI incorrectly not defined by debug format selection"
+# endif
+#else
+# ifdef TEST_ZI
+# error "TEST_ZI incorrectly defined by non-debug format selection"
+# endif
+#endif