Changeset 10267 for code/trunk/cmake
- Timestamp:
- Feb 12, 2015, 6:05:25 PM (10 years ago)
- Location:
- code/trunk/cmake/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/cmake/tools/SourceFileUtilities.cmake
r8729 r10267 81 81 STRING(REPLACE "/" "\\\\" _group_path "${_relative_path}") 82 82 SOURCE_GROUP("Source\\${_group_path}" FILES ${_file}) 83 ELSEIF(_relative_path MATCHES ".*\\.rc") #Resource files 84 SOURCE_GROUP("Resource Files" FILES ${_file}) 83 85 ELSE() 84 86 # File is being generated in the binary directory -
code/trunk/cmake/tools/TargetUtilities.cmake
r10252 r10267 287 287 # Don't compile header files 288 288 FOREACH(_file ${_${_target_name}_files}) 289 IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx|mm )$")289 IF(NOT _file MATCHES "\\.(c|cc|cpp|cxx|mm|rc)$") 290 290 SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES HEADER_FILE_ONLY TRUE) 291 291 ENDIF()
Note: See TracChangeset
for help on using the changeset viewer.