CMake/Tests/CompileDefinitions/compiletest.c
Brad King ed99370f63 CMP0043: Remove support for OLD behavior
Note that per-source `COMPILE_DEFINITIONS_<CONFIG>` are not covered by
the policy, and are still supported.
2025-01-19 09:41:02 -05:00

20 lines
308 B
C

#ifndef LINK_C_DEFINE
# error Expected LINK_C_DEFINE
#endif
#ifndef LINK_LANGUAGE_IS_C
# error Expected LINK_LANGUAGE_IS_C
#endif
#ifdef LINK_CXX_DEFINE
# error Unexpected LINK_CXX_DEFINE
#endif
#ifdef LINK_LANGUAGE_IS_CXX
# error Unexpected LINK_LANGUAGE_IS_CXX
#endif
int main(void)
{
return 0;
}