Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 10, 2015, 11:00:01 PM (9 years ago)
Author:
bknecht
Message:

Turned on c++11 flag in compiler and fixed a bug where boost couldn't handle it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11/cmake/CompilerConfigGCC.cmake

    r9686 r10441  
    6464ADD_COMPILER_FLAGS("-Os"                   MinSizeRel     CACHE)
    6565
     66# Introducing c++11
     67# Note: there is also 'std=gnu++11', but that might not be portable to windows
     68ADD_COMPILER_FLAGS("-std=c++0x" CACHE)
     69
    6670# CMake doesn't seem to set the PIC flags right on certain 64 bit systems
    6771IF(NOT MINGW AND ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
Note: See TracChangeset for help on using the changeset viewer.