CMake/Tests/CMakeCommands/target_compile_definitions/consumer.cpp

19 lines
293 B
C++

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