Changeset 2907 for code/branches/questsystem5/cmake
- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/cmake/BuildConfig.cmake
r2748 r2907 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) -
code/branches/questsystem5/cmake/BuildConfigGCC.cmake
r2710 r2907 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" CXX) 68 65 69 # Increase warning level if requested 66 70 IF(EXTRA_COMPILER_WARNINGS) 67 REMOVE_COMPILER_FLAGS("-Wall" CACHE) 68 ADD_COMPILER_FLAGS("-Wextra --Wno-unused-parameter" CACHE) 71 ADD_COMPILER_FLAGS("-Wall -Wextra -Wno-unused-parameter" CACHE) 69 72 ELSE() 70 REMOVE_COMPILER_FLAGS("-Wextra - -Wno-unused-parameter" CACHE)73 REMOVE_COMPILER_FLAGS("-Wextra -Wno-unused-parameter" CACHE) 71 74 ADD_COMPILER_FLAGS("-Wall" CACHE) 72 75 ENDIF() -
code/branches/questsystem5/cmake/FindDirectX.cmake
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/questsystem5/cmake/FlagUtilities.cmake
r2710 r2907 54 54 ENDMACRO(SET_CACHE) 55 55 56 # Visual studio (esp. IntelliSense) doesn't like dashes to specify arguments 57 # Always use foward slashes instead 58 IF(MSVC) 59 SET(ARGUMENT_STARTER "/") 60 ELSE() 61 SET(ARGUMENT_STARTER "-") 62 ENDIF(MSVC) 63 56 64 # Separates a string of flags. " -" or " /" denotes the start of a flag. 57 65 # The same sequence inside double quotation marks is ignored. … … 71 79 # Extract one flag if possible 72 80 SET(_flag) 73 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" " -\\1" _flag "${_flag_string}")81 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" "${ARGUMENT_STARTER}\\1" _flag "${_flag_string}") 74 82 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" "\\2" _flag_string "${_flag_string}") 75 83 IF(NOT _flag STREQUAL _flag_string) -
code/branches/questsystem5/cmake/LibraryConfigTardis.cmake
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.