diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-09 16:24:44 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-09 16:24:44 (GMT) |
commit | 2e70c5094f4fbf68d89784d2c8dd899fa464bf24 (patch) | |
tree | c6104cb275d40156e79acbd082c3a275565b2b3a | |
parent | de93907bdd69aa3a6efb51de492813685e8aadd9 (diff) | |
download | CMake-2e70c5094f4fbf68d89784d2c8dd899fa464bf24.zip CMake-2e70c5094f4fbf68d89784d2c8dd899fa464bf24.tar.gz CMake-2e70c5094f4fbf68d89784d2c8dd899fa464bf24.tar.bz2 |
ENH: check for compile flags and add back c flag to unix generator
-rw-r--r-- | Tests/Complex/Executable/complex.cxx | 1 | ||||
-rw-r--r-- | Tests/Complex/Library/testConly.h | 2 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/complex.cxx | 1 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Library/testConly.h | 2 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/complex.cxx | 1 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Library/testConly.h | 2 |
6 files changed, 6 insertions, 3 deletions
diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index adde525..1415ce7 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/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 diff --git a/Tests/Complex/Library/testConly.h b/Tests/Complex/Library/testConly.h index fc4c3f1..f1470a8 100644 --- a/Tests/Complex/Library/testConly.h +++ b/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 diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index adde525..1415ce7 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/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 diff --git a/Tests/ComplexOneConfig/Library/testConly.h b/Tests/ComplexOneConfig/Library/testConly.h index fc4c3f1..f1470a8 100644 --- a/Tests/ComplexOneConfig/Library/testConly.h +++ b/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 diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index adde525..1415ce7 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/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 diff --git a/Tests/ComplexRelativePaths/Library/testConly.h b/Tests/ComplexRelativePaths/Library/testConly.h index fc4c3f1..f1470a8 100644 --- a/Tests/ComplexRelativePaths/Library/testConly.h +++ b/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 |