Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8273


Ignore:
Timestamp:
Apr 20, 2011, 4:01:12 AM (13 years ago)
Author:
rgrieder
Message:

Added optional use of install_manifest.txt file (white space separated list) in the dependency binary directory to specify the files to be installed for a release configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib/cmake/PackageConfig.cmake

    r8123 r8273  
    7575
    7676  ## RELEASE
    77   # Try to filter out all the debug libraries. If the regex doesn't do the
    78   # job anymore, simply adjust it.
    79   INSTALL(
    80     DIRECTORY ${DEP_BINARY_DIR}/
    81     DESTINATION bin
    82     CONFIGURATIONS Release RelWithDebInfo MinSizeRel
    83     REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE
    84   )
     77  IF(EXISTS ${DEP_BINARY_DIR}/install_manifest.txt)
     78    FILE(STRINGS ${DEP_BINARY_DIR}/install_manifest.txt _files)
     79    FOREACH(_file ${_files})
     80      INSTALL(
     81        FILES ${DEP_BINARY_DIR}/${_file}
     82        DESTINATION bin
     83        CONFIGURATIONS Release RelWithDebInfo MinSizeRel
     84      )
     85    ENDFOREACH(_file)
     86  ELSE()
     87    # Try to filter out all the debug libraries. If the regex doesn't do the
     88    # job anymore, simply adjust it.
     89    INSTALL(
     90      DIRECTORY ${DEP_BINARY_DIR}/
     91      DESTINATION bin
     92      CONFIGURATIONS Release RelWithDebInfo MinSizeRel
     93      REGEX "_[Dd]\\.[a-zA-Z0-9+-]+$|-mt-gd-|^.*\\.pdb$" EXCLUDE
     94    )
     95  ENDIF()
    8596ENDIF()
Note: See TracChangeset for help on using the changeset viewer.