diff options
author | Brad King <brad.king@kitware.com> | 2022-09-14 13:21:08 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-09-14 13:21:27 (GMT) |
commit | c3e68020d61ae306261b4f953947483a960edf32 (patch) | |
tree | 49ab480611211dd6ee15714192dd8e29d22cbe7f /Tests/MSVCDebugInformationFormat/verify.h | |
parent | e457663ac15e138ce7618d2f74c9656665ab139b (diff) | |
parent | a858466aacb046a953367aeb2ee6c456812fc2dd (diff) | |
download | CMake-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.h | 29 |
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 |