Files
CMake/Tests/MSVCDebugInformationFormat/verify.h
Brad King a858466aac MSVC: Add test for debug information format
Verify that the format's flags are used to compile, both in the
main project and in `try_compile` test projects.
2022-09-14 09:12:47 -04:00

30 lines
677 B
C

#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