https://github.com/Kitware/CMake
Raw File
Tip revision: 6d01a8e004c5faf2d0b2c3b7c0645ce3726181b6 authored by Brad King on 30 September 2019, 18:01:30 UTC
CMake 3.14.7
Tip revision: 6d01a8e
compiletest_mixed_c.c

#ifndef LINK_CXX_DEFINE
#  error Expected LINK_CXX_DEFINE
#endif
#ifndef LINK_LANGUAGE_IS_CXX
#  error Expected LINK_LANGUAGE_IS_CXX
#endif

#ifdef LINK_C_DEFINE
#  error Unexpected LINK_C_DEFINE
#endif
#ifdef LINK_LANGUAGE_IS_C
#  error Unexpected LINK_LANGUAGE_IS_C
#endif

#ifndef C_EXECUTABLE_LINK_LANGUAGE_IS_C
#  error Expected C_EXECUTABLE_LINK_LANGUAGE_IS_C define
#endif

void someFunc(void)
{
}
back to top