Changeset 7447
- Timestamp:
- Sep 13, 2010, 3:14:25 PM (14 years ago)
- Location:
- sandbox_qt/cmake/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox_qt/cmake/tools/GetGCCCompilerFlags.cmake
r7163 r7447 58 58 GET_TARGET_PROPERTY(_target_defs ${_target} COMPILE_DEFINITIONS) 59 59 GET_TARGET_PROPERTY(_target_defs_build_type ${_target} COMPILE_DEFINITIONS_${_build_type_upper}) 60 GET_TARGET_PROPERTY(_target_def_symbol ${_target} DEFINE_SYMBOL) 60 IF(${_target_type} STREQUAL SHARED_LIBRARY) 61 GET_TARGET_PROPERTY(_target_def_symbol ${_target} DEFINE_SYMBOL) 62 ENDIF() 63 61 64 # Prefix them all with a "-D" if the property was found 62 65 FOREACH(_def ${_directory_defs} ${_directory_defs_build_type} ${_target_defs} -
sandbox_qt/cmake/tools/PrecompiledHeaderFiles.cmake
r7289 r7447 70 70 LIST(APPEND ${_sourcefile_var} ${_pch_header_file}) 71 71 ENDIF() 72 SOURCE_GROUP("PCH" FILES ${_pch_header_file})73 72 74 73 IF(MSVC) … … 81 80 SET_SOURCE_FILES_PROPERTIES(_pch_source_file PROPERTIES GENERATED TRUE) 82 81 LIST(APPEND ${_sourcefile_var} ${_pch_source_file}) 83 SOURCE_GROUP("PCH" FILES ${_pch_source_file})84 82 85 83 SET(_pch_file "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${_pch_header_filename}.pch")
Note: See TracChangeset
for help on using the changeset viewer.