Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2011, 9:57:45 PM (13 years ago)
Author:
rgrieder
Message:

Also add tolua bind files to build units (for the sake of completeness ).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/unity_build/cmake/tools/TargetUtilities.cmake

    r8649 r8650  
    182182  LIST(REMOVE_DUPLICATES _${_target_name}_files)
    183183
    184   # Mark files to be excluded from build units
    185   IF(_arg_EXCLUDE_FROM_BUILD_UNITS)
    186     SET_SOURCE_FILES_PROPERTIES(${_arg_EXCLUDE_FROM_BUILD_UNITS}
    187       PROPERTIES EXCLUDE_FROM_BUILD_UNITS TRUE)
    188   ENDIF()
    189 
    190   # Full build units
    191   IF(NOT _arg_ORXONOX_EXTERNAL AND ENABLE_BUILD_UNITS MATCHES "full")
    192     GENERATE_BUILD_UNITS(${_target_name} _${_target_name}_files)
    193   ENDIF()
    194 
    195184  # TOLUA_FILES
    196185  IF(_arg_TOLUA_FILES)
     
    204193      ENDFOREACH(_dir)
    205194    ENDIF()
     195  ENDIF()
     196
     197  # Mark files to be excluded from build units
     198  IF(_arg_EXCLUDE_FROM_BUILD_UNITS)
     199    SET_SOURCE_FILES_PROPERTIES(${_arg_EXCLUDE_FROM_BUILD_UNITS}
     200      PROPERTIES EXCLUDE_FROM_BUILD_UNITS TRUE)
     201  ENDIF()
     202
     203  # Full build units
     204  IF(NOT _arg_ORXONOX_EXTERNAL AND ENABLE_BUILD_UNITS MATCHES "full")
     205    GENERATE_BUILD_UNITS(${_target_name} _${_target_name}_files)
    206206  ENDIF()
    207207
Note: See TracChangeset for help on using the changeset viewer.