Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 7, 2009, 8:03:27 PM (15 years ago)
Author:
rgrieder
Message:

Removed about a thousand lines of warnings when compiling with GCC 3. It's not such a clean workaround but better than polluted output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/buildsystem2/src/orxonox/CMakeLists.txt

    r2634 r2638  
    3939# Not using precompiled header files: Avoid dependencies
    4040INCLUDE_DIRECTORIES(pch/nopch)
     41
     42IF(NOT GCC_SYSTEM_HEADER_SUPPORT)
     43  # Get around displaying a few hundred lines of warning code
     44  SET_SOURCE_FILES_PROPERTIES(gamestates/GSGraphics.cc PROPERTIES COMPILE_FLAGS "-w")
     45ENDIF()
    4146
    4247ADD_EXECUTABLE(orxonox ${ORXONOX_FILES})
Note: See TracChangeset for help on using the changeset viewer.