Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2011, 2:20:29 AM (13 years ago)
Author:
rgrieder
Message:

Changed binary CMake option DISABLE_BUILD_UNITS to string option ENABLE_BUILD_UNITS with the following possible values:
off/false: Turn off completely
partial: Only combine files explicitly specified with BUILD_UNIT
full##: Use ## source files per orxonox library and use manual build units

for external dependencies. Example: full8 will in general use 8
source files per library, but more specifically tries to occupy
8 CPU threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/src/CMakeLists.txt

    r8558 r8569  
    6666      ADD_LINKER_FLAGS   ("-INCREMENTAL:NO"  Debug)
    6767    ENDIF()
    68     IF(NOT DISABLE_BUILD_UNITS)
     68    IF(ENABLE_BUILD_UNITS)
    6969      # Build units seem to generate 'memory leaks' with static variables
    7070      MESSAGE("Warning: You should disable build units when using VLD!")
Note: See TracChangeset for help on using the changeset viewer.