ENH: check for compile flags and add back c flag to unix generator

This commit is contained in:
Bill Hoffman 2002-04-09 12:24:44 -04:00
parent de93907bdd
commit 2e70c5094f
6 changed files with 6 additions and 3 deletions

View File

@ -136,6 +136,7 @@ int main()
cmFailed("CMake CMAKE_CXX_FLAGS is not being passed to the compiler!");
#else
cmPassed("CMake CMAKE_CXX_FLAGS is being passed to the compiler.");
#endif
// ----------------------------------------------------------------------
// Test ADD_DEFINITIONS

View File

@ -5,7 +5,7 @@
# define CMakeTest_EXPORT __declspec(dllimport)
#endif
#else
// unix needs nothing
/* unix needs nothing */
#define CMakeTest_EXPORT
#endif

View File

@ -136,6 +136,7 @@ int main()
cmFailed("CMake CMAKE_CXX_FLAGS is not being passed to the compiler!");
#else
cmPassed("CMake CMAKE_CXX_FLAGS is being passed to the compiler.");
#endif
// ----------------------------------------------------------------------
// Test ADD_DEFINITIONS

View File

@ -5,7 +5,7 @@
# define CMakeTest_EXPORT __declspec(dllimport)
#endif
#else
// unix needs nothing
/* unix needs nothing */
#define CMakeTest_EXPORT
#endif

View File

@ -136,6 +136,7 @@ int main()
cmFailed("CMake CMAKE_CXX_FLAGS is not being passed to the compiler!");
#else
cmPassed("CMake CMAKE_CXX_FLAGS is being passed to the compiler.");
#endif
// ----------------------------------------------------------------------
// Test ADD_DEFINITIONS

View File

@ -5,7 +5,7 @@
# define CMakeTest_EXPORT __declspec(dllimport)
#endif
#else
// unix needs nothing
/* unix needs nothing */
#define CMakeTest_EXPORT
#endif