- Timestamp:
- May 28, 2011, 9:57:45 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/cmake/tools/TargetUtilities.cmake
r8649 r8650 182 182 LIST(REMOVE_DUPLICATES _${_target_name}_files) 183 183 184 # Mark files to be excluded from build units185 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 units191 IF(NOT _arg_ORXONOX_EXTERNAL AND ENABLE_BUILD_UNITS MATCHES "full")192 GENERATE_BUILD_UNITS(${_target_name} _${_target_name}_files)193 ENDIF()194 195 184 # TOLUA_FILES 196 185 IF(_arg_TOLUA_FILES) … … 204 193 ENDFOREACH(_dir) 205 194 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) 206 206 ENDIF() 207 207
Note: See TracChangeset
for help on using the changeset viewer.