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/util/CMakeLists.txt

    r2634 r2638  
    5858SOURCE_GROUP("" FILES ${CMAKE_BINARY_DIR}/src/OrxonoxConfig.h)
    5959
     60IF(NOT GCC_SYSTEM_HEADER_SUPPORT)
     61  # Get around displaying a few hundred lines of warning code
     62  SET_SOURCE_FILES_PROPERTIES(MultiType.cc PROPERTIES COMPILE_FLAGS "-w")
     63ENDIF()
     64
    6065ADD_LIBRARY(util SHARED ${UTIL_FILES})
    6166SET_TARGET_PROPERTIES(util PROPERTIES DEFINE_SYMBOL "UTIL_SHARED_BUILD")
Note: See TracChangeset for help on using the changeset viewer.