Changeset 2862 for code/branches/gui/cmake
- Timestamp:
- Mar 30, 2009, 12:14:36 AM (16 years ago)
- Location:
- code/branches/gui/cmake
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/cmake/BuildConfig.cmake
r2853 r2862 90 90 ################ Compiler Config ################ 91 91 92 #OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)")92 OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)" FALSE) 93 93 94 94 INCLUDE(FlagUtilities) … … 184 184 # Disable Boost auto linking completely 185 185 ADD_COMPILER_FLAGS("-DBOOST_ALL_NO_LIB") 186 ADD_COMPILER_FLAGS("-Wno-deprecated")187 186 188 187 # If no defines are specified, these libs get linked statically -
code/branches/gui/cmake/BuildConfigGCC.cmake
r2710 r2862 63 63 ADD_COMPILER_FLAGS("-Wno-sign-compare" GCC_NO_SYSTEM_HEADER_SUPPORT CACHE) 64 64 65 # For newer GCC (4.3 and above), don't display hundreds of annoying deprecated 66 # messages. Other versions don't seem to show any such warnings at all. 67 ADD_COMPILER_FLAGS("-Wno-deprecated") 68 65 69 # Increase warning level if requested 66 70 IF(EXTRA_COMPILER_WARNINGS)
Note: See TracChangeset
for help on using the changeset viewer.