Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2009, 12:14:36 AM (15 years ago)
Author:
rgrieder
Message:

quote: "Fixed some bugs. Please do not break the code, when working with other people on one branch"
Me too. CMake wasn't even able to make the project after r2853!
The problem was the no -Wno-deprecated flag, which was set to all compilers.
Lets examine: There are three files with compiler settings: BuildConfig.cmake, BuildConfigGCC.cmake and BuildConfigMSVC.cmake. Suppose you want to apply a GCC specific option, which one do you pick? BuildConfig.cmake, exactly, because that only concerns GCC in contrast to BuildConfigGCC.cmake!
I still hope the dozens if not hundreds of hours of work spent on the build system to make it less of a mess weren't all that in vein…

  • Also re enabled the OPTION to show extended compiler warnings and explicitly set it to false (which it was before, just not visibly).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gui/cmake/BuildConfigGCC.cmake

    r2710 r2862  
    6363ADD_COMPILER_FLAGS("-Wno-sign-compare" GCC_NO_SYSTEM_HEADER_SUPPORT CACHE)
    6464
     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.
     67ADD_COMPILER_FLAGS("-Wno-deprecated")
     68
    6569# Increase warning level if requested
    6670IF(EXTRA_COMPILER_WARNINGS)
Note: See TracChangeset for help on using the changeset viewer.