Changeset 5613 for code/branches/libraries/cmake
- Timestamp:
- Aug 10, 2009, 4:44:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/libraries/cmake/TargetUtilities.cmake
r3371 r5613 44 44 # PCH_FILE: Precompiled header file 45 45 # PCH_EXCLUDE: Source files to be excluded from PCH support 46 # OUTPUT_NAME: If you want a different name than the target name 46 47 # Note: 47 48 # This function also installs the target! … … 77 78 PCH_NO_DEFAULT NO_INSTALL) 78 79 SET(_list_names LINK_LIBRARIES VERSION SOURCE_FILES DEFINE_SYMBOL 79 TOLUA_FILES PCH_FILE PCH_EXCLUDE )80 TOLUA_FILES PCH_FILE PCH_EXCLUDE OUTPUT_NAME) 80 81 PARSE_MACRO_ARGUMENTS("${_switches}" "${_list_names}" ${ARGN}) 81 82 … … 168 169 ENDIF() 169 170 171 # OUTPUT_NAME 172 IF(_arg_OUTPUT_NAME ) 173 SET_TARGET_PROPERTIES(${_target_name} PROPERTIES OUTPUT_NAME ${_arg_OUTPUT_NAME}) 174 ENDIF() 175 170 176 # Second part of precompiled header files 171 177 IF(PCH_COMPILER_SUPPORT AND PCH_ENABLE_${_target_name_upper} AND _arg_PCH_FILE)
Note: See TracChangeset
for help on using the changeset viewer.