mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 14:50:10 -06:00
ENH: check for compile flags and add back c flag to unix generator
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
// unix needs nothing
|
||||
/* unix needs nothing */
|
||||
#define CMakeTest_EXPORT
|
||||
#endif
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
// unix needs nothing
|
||||
/* unix needs nothing */
|
||||
#define CMakeTest_EXPORT
|
||||
#endif
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# define CMakeTest_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
#else
|
||||
// unix needs nothing
|
||||
/* unix needs nothing */
|
||||
#define CMakeTest_EXPORT
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user