Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2011, 3:26:56 AM (14 years ago)
Author:
rgrieder
Message:

Added some extra wursts for Visual Studio 2010 to the build system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/cmake/CompilerConfigMSVC.cmake

    r7818 r8057  
    6464SET_COMPILER_FLAGS("-MD  -O2 -Zi -DNDEBUG"       RelWithDebInfo CACHE)
    6565SET_COMPILER_FLAGS("-MD  -O1     -DNDEBUG"       MinSizeRel     CACHE)
    66 ADD_COMPILER_FLAGS("-D_SECURE_SCL=0"       MSVC9 ReleaseAll     CACHE)
     66
     67# No iterator checking for release builds (MSVC 8 dosn't understand this though)
     68ADD_COMPILER_FLAGS("-D_SECURE_SCL=0" ReleaseAll CACHE)
     69
     70# Newer MSVC versions come with std::shared_ptr which conflicts with
     71# boost::shared_ptr in cpptcl. And since we don't yet use the new C++ standard
     72# anyway, disable it completely.
     73ADD_COMPILER_FLAGS("-D_HAS_CPP0X=0" CACHE)
    6774
    6875# Use Link time code generation for Release config if ORXONOX_RELEASE is defined
Note: See TracChangeset for help on using the changeset viewer.