- Timestamp:
- May 28, 2011, 9:56:50 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/unity_build/cmake/tools/TargetUtilities.cmake
r8623 r8649 54 54 # PCH_EXCLUDE: Source files to be excluded from PCH support 55 55 # OUTPUT_NAME: If you want a different name than the target name 56 # EXCLUDE_FROM_BUILD_UNITS: Specifies files that are not put into 57 # automatic (full) build units. They can still 58 # explicitely be included in a BUILD_UNIT (partial) 56 59 # Note: 57 60 # This function also installs the target! … … 92 95 DEFINE_SYMBOL TOLUA_FILES PCH_FILE 93 96 PCH_EXCLUDE OUTPUT_NAME LINK_LIBS_LINUX 94 LINK_LIBS_WIN32 LINK_LIBS_APPLE LINK_LIBS_UNIX) 97 LINK_LIBS_WIN32 LINK_LIBS_APPLE LINK_LIBS_UNIX 98 EXCLUDE_FROM_BUILD_UNITS) 95 99 96 100 PARSE_MACRO_ARGUMENTS("${_switches}" "${_list_names}" ${ARGN}) … … 177 181 # Remove potential duplicates 178 182 LIST(REMOVE_DUPLICATES _${_target_name}_files) 183 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() 179 189 180 190 # Full build units
Note: See TracChangeset
for help on using the changeset viewer.