Changeset 8083 for code/branches/mac_osx/cmake/tools/TargetUtilities.cmake
- Timestamp:
- Mar 17, 2011, 12:12:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/cmake/tools/TargetUtilities.cmake
r7619 r8083 176 176 ADD_COMPILER_FLAGS("-w") 177 177 ENDIF() 178 178 179 179 # Don't compile header files 180 180 FOREACH(_file ${_${_target_name}_files}) 181 IF(NOT _file MATCHES "\\.(c|cc|cpp )")181 IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx|mm)$") 182 182 SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES HEADER_FILE_ONLY TRUE) 183 183 ENDIF() 184 184 ENDFOREACH(_file) 185 186 187 185 188 186 # Add the library/executable
Note: See TracChangeset
for help on using the changeset viewer.