Changeset 6412 for code/branches/pickup2/cmake/TargetUtilities.cmake
- Timestamp:
- Dec 25, 2009, 1:18:03 PM (15 years ago)
- Location:
- code/branches/pickup2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pickup2
- Property svn:mergeinfo changed
-
code/branches/pickup2/cmake/TargetUtilities.cmake
r5929 r6412 181 181 ENDFOREACH(_file) 182 182 183 184 183 185 # Add the library/executable 184 186 IF("${_target_type}" STREQUAL "LIBRARY") … … 190 192 ENDIF() 191 193 194 195 192 196 # Change library prefix to "lib" 193 197 IF(MSVC AND ${_target_type} STREQUAL "LIBRARY") … … 195 199 PREFIX "lib" 196 200 ) 201 ENDIF() 202 203 # MSVC hack to exclude external library sources from the intellisense database 204 # (IntelliSense stops working when adding "-Zm1000" as compile flag. "/Zm1000" 205 # would not work because of the slash) 206 IF(_arg_ORXONOX_EXTERNAL AND MSVC) 207 SET_TARGET_PROPERTIES(${_target_name} PROPERTIES COMPILE_FLAGS "-Zm1000") 197 208 ENDIF() 198 209
Note: See TracChangeset
for help on using the changeset viewer.