Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2011, 2:49:58 AM (13 years ago)
Author:
rgrieder
Message:

Optimised build units for MSVC too by splitting the config file in two.
Note that I had to guess the values for 8 threads, I can not (yet) test that.
Also note that the MSVC config applies to having MSVC configured to make N targets at once (leading up to possibly N*N processes). Seems stupid, is stupid, but is still the fastest when compiling Orxonox.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/OrxonoxConfig.cmake

    r8622 r8633  
    5252    ENDIF()
    5353  ENDIF()
    54   INCLUDE(BuildUnitsConfig.cmake)
     54  IF(CMAKE_COMPILER_IS_GNU)
     55    INCLUDE(BuildUnitsConfigGCC.cmake)
     56  ELSEIF(MSVC)
     57    INCLUDE(BuildUnitsConfigMSVC.cmake)
     58  ENDIF()
    5559ENDIF()
    5660
Note: See TracChangeset for help on using the changeset viewer.