Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7173 for code


Ignore:
Timestamp:
Aug 17, 2010, 8:56:32 PM (14 years ago)
Author:
rgrieder
Message:

Enabled parallel build of compilations and normal source files for MSVC.
Somehow msvc treats source files differently when you specify a compiler option with "-" instead of "/".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/tools/SourceFileUtilities.cmake

    r7163 r7173  
    6262        # MSVC hack that excludes the compilations from the intellisense database
    6363        # (There is a bug with the "-" instead of "/". Only works for "Zm#" argument)
    64         IF(MSVC)
    65           SET_SOURCE_FILES_PROPERTIES(${_compilation_file} PROPERTIES COMPILE_FLAGS "-Zm1000")
    66         ENDIF()
     64        # 2nd Note: Exploiting this results in a strange separation of the compilation
     65        # file, causing the compiler not to use multi processing --> slower compiling.
     66        #IF(MSVC)
     67        #    SET_SOURCE_FILES_PROPERTIES(${_compilation_file} PROPERTIES COMPILE_FLAGS "-Zm1000")
     68        #ENDIF()
    6769      ENDIF()
    6870      SET(_compilation_name)
Note: See TracChangeset for help on using the changeset viewer.