Changeset 2652 for code/branches/buildsystem2/cmake
- Timestamp:
- Feb 13, 2009, 10:16:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/buildsystem2/cmake/LibraryConfig.cmake
r2651 r2652 69 69 # When installing a debug version, we really can't know which libraries 70 70 # are used in released mode because there might be deps of deps. 71 INSTALL(DIRECTORY ${DEP_BINARY_DIR}/ DESTINATION bin CONFIGURATIONS Debug) 71 INSTALL( 72 DIRECTORY ${DEP_BINARY_DIR}/ 73 DESTINATION bin 74 CONFIGURATIONS Debug 75 REGEX "^.*\\.pdb$" EXCLUDE 76 ) 72 77 73 78 # Try to filter out all the debug libraries. If the regex doesn't do the 74 79 # job anymore, simply adjust it. 75 FILE(GLOB _dependencies_all "${DEP_BINARY_DIR}/*") 76 FOREACH(_dep ${_dependencies_all}) 77 IF(NOT _dep MATCHES "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$") 78 LIST(APPEND _dependencies_release "${_dep}") 79 ENDIF() 80 ENDFOREACH(_dep) 81 INSTALL(FILES ${_dependencies_release} DESTINATION bin 82 CONFIGURATIONS Release RelWithDebInfo MinSizeRel) 80 INSTALL( 81 DIRECTORY ${DEP_BINARY_DIR}/ 82 DESTINATION bin 83 CONFIGURATIONS Release RelWithDebInfo MinSizeRel 84 REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE 85 ) 83 86 ENDIF(DEP_BINARY_DIR AND WIN32) 84 87 ENDIF(NOT DEPENDENCY_DIR)
Note: See TracChangeset
for help on using the changeset viewer.