CMake/Tests/CMakeCommands/target_compile_definitions/main.cpp

15 lines
233 B
C++
Raw Normal View History

#ifndef MY_PRIVATE_DEFINE
#error Expected MY_PRIVATE_DEFINE
#endif
#ifndef MY_PUBLIC_DEFINE
#error Expected MY_PUBLIC_DEFINE
#endif
#ifdef MY_INTERFACE_DEFINE
#error Unexpected MY_INTERFACE_DEFINE
#endif
int main() { return 0; }