Browse Source

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

Bill Hoffman 23 years ago
parent
commit
2e70c5094f

+ 1 - 0
Tests/Complex/Executable/complex.cxx

@@ -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
 

+ 1 - 1
Tests/Complex/Library/testConly.h

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

+ 1 - 0
Tests/ComplexOneConfig/Executable/complex.cxx

@@ -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
 

+ 1 - 1
Tests/ComplexOneConfig/Library/testConly.h

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

+ 1 - 0
Tests/ComplexRelativePaths/Executable/complex.cxx

@@ -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
 

+ 1 - 1
Tests/ComplexRelativePaths/Library/testConly.h

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