Changeset 2908 for code/branches/questsystem5/cmake
- Timestamp:
- Apr 8, 2009, 12:58:47 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
r2907 r2908 90 90 ################ Compiler Config ################ 91 91 92 OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)" FALSE)92 OPTION(EXTRA_COMPILER_WARNINGS "Enable some extra warnings (heavily pollutes the output)") 93 93 94 94 INCLUDE(FlagUtilities) -
code/branches/questsystem5/cmake/BuildConfigGCC.cmake
r2907 r2908 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 deprecated66 # messages. Other versions don't seem to show any such warnings at all.67 ADD_COMPILER_FLAGS("-Wno-deprecated" CXX)68 69 65 # Increase warning level if requested 70 66 IF(EXTRA_COMPILER_WARNINGS) 71 ADD_COMPILER_FLAGS("-Wall -Wextra -Wno-unused-parameter" CACHE) 67 REMOVE_COMPILER_FLAGS("-Wall" CACHE) 68 ADD_COMPILER_FLAGS("-Wextra --Wno-unused-parameter" CACHE) 72 69 ELSE() 73 REMOVE_COMPILER_FLAGS("-Wextra - Wno-unused-parameter" CACHE)70 REMOVE_COMPILER_FLAGS("-Wextra --Wno-unused-parameter" CACHE) 74 71 ADD_COMPILER_FLAGS("-Wall" CACHE) 75 72 ENDIF() -
code/branches/questsystem5/cmake/FindDirectX.cmake
- Property svn:mergeinfo changed
/code/branches/miniprojects/cmake/FindDirectX.cmake removed /code/branches/weaponsystem/cmake/FindDirectX.cmake removed
- Property svn:mergeinfo changed
-
code/branches/questsystem5/cmake/FlagUtilities.cmake
r2907 r2908 54 54 ENDMACRO(SET_CACHE) 55 55 56 # Visual studio (esp. IntelliSense) doesn't like dashes to specify arguments57 # Always use foward slashes instead58 IF(MSVC)59 SET(ARGUMENT_STARTER "/")60 ELSE()61 SET(ARGUMENT_STARTER "-")62 ENDIF(MSVC)63 64 56 # Separates a string of flags. " -" or " /" denotes the start of a flag. 65 57 # The same sequence inside double quotation marks is ignored. … … 79 71 # Extract one flag if possible 80 72 SET(_flag) 81 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" " ${ARGUMENT_STARTER}\\1" _flag "${_flag_string}")73 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" "-\\1" _flag "${_flag_string}") 82 74 STRING(REGEX REPLACE "^.* [/-](.+)( [/-].*$)" "\\2" _flag_string "${_flag_string}") 83 75 IF(NOT _flag STREQUAL _flag_string) -
code/branches/questsystem5/cmake/LibraryConfigTardis.cmake
- Property svn:mergeinfo changed
/code/branches/gui/cmake/LibraryConfigTardis.cmake removed /code/branches/miniprojects/cmake/LibraryConfigTardis.cmake removed /code/branches/weaponsystem/cmake/LibraryConfigTardis.cmake removed
- Property svn:mergeinfo changed
Note: See TracChangeset
for help on using the changeset viewer.