3 int TestTargetCompileFlags(char* m
)
5 #ifndef COMPLEX_TARGET_FLAG
6 strcpy(m
, "CMAKE SET_TARGET_PROPERTIES COMPILE_FLAGS did not work");
9 strcpy(m
, "CMAKE SET_TARGET_PROPERTIES COMPILE_FLAGS worked");
13 int TestCFlags(char* m
)
15 /* TEST_CXX_FLAGS should not be defined in a c file */
17 strcpy(m
, "CMake CMAKE_CXX_FLAGS (TEST_CXX_FLAGS) found in c file.");
20 /* TEST_C_FLAGS should be defined in a c file */
22 strcpy(m
, "CMake CMAKE_C_FLAGS (TEST_C_FLAGS) not found in c file.");