Changeset 10268 for code/trunk/cmake/tools
- Timestamp:
- Feb 12, 2015, 11:28:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/tools/PrecompiledHeaderFiles.cmake
r10187 r10268 104 104 FOREACH(_file ${_source_files}) 105 105 GET_SOURCE_FILE_PROPERTY(_is_header ${_file} HEADER_FILE_ONLY) 106 IF(NOT _is_header) 106 # Don't use pch file for header-only files and *.rc files 107 IF((NOT _is_header) AND (NOT _file MATCHES "\\.rc$")) 107 108 GET_SOURCE_FILE_PROPERTY(_old_flags ${_file} COMPILE_FLAGS) 108 109 IF(NOT _old_flags) … … 113 114 OBJECT_DEPENDS "${_pch_header_file}" 114 115 ) 115 ENDIF( NOT _is_header)116 ENDIF() 116 117 ENDFOREACH(_file) 117 118
Note: See TracChangeset
for help on using the changeset viewer.