COIN-OR::LEMON - Graph Library

Changeset 502:e58c511a5eba in lemon


Ignore:
Timestamp:
01/22/09 11:39:13 (15 years ago)
Author:
Akos Ladanyi <ladanyi@…>
Branch:
default
Phase:
public
Message:

Enable the component-based installer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r274 r502  
    1919
    2020IF(WIN32)
    21   INSTALL(FILES ${CMAKE_SOURCE_DIR}/cmake/nsis/lemon.ico
    22     DESTINATION bin)
    23 ENDIF(WIN32)
    24 
    25 IF(WIN32)
    2621  SET(CPACK_PACKAGE_NAME ${PROJECT_NAME})
    27   SET(CPACK_PACKAGE_VENDOR
    28     "EGRES - Egervary Research Group on Combinatorial Optimization")
     22  SET(CPACK_PACKAGE_VENDOR "EGRES")
    2923  SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY
    3024    "LEMON - Library of Efficient Models and Optimization in Networks")
     
    3832    "${PROJECT_NAME} ${PROJECT_VERSION}")
    3933
    40   # Variables to generate a component-based installer.
    41   #SET(CPACK_COMPONENTS_ALL headers library html_documentation)
     34  SET(CPACK_COMPONENTS_ALL headers library html_documentation)
    4235
    43   #SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers")
    44   #SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Static library")
    45   #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation")
     36  SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers")
     37  SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Dynamic-link library")
     38  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation")
    4639
    47   #SET(CPACK_COMPONENT_HEADERS_DESCRIPTION
    48   #  "C++ header files for use with the LEMON library")
    49   #SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION
    50   #  "Static library used to build programs with LEMON")
    51   #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION
    52   #  "Doxygen generated documentation")
     40  SET(CPACK_COMPONENT_HEADERS_DESCRIPTION
     41    "C++ header files")
     42  SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION
     43    "DLL and import library")
     44  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION
     45    "Doxygen generated documentation")
    5346
    54   #SET(CPACK_COMPONENT_HEADERS_DEPENDS library)
     47  SET(CPACK_COMPONENT_HEADERS_DEPENDS library)
    5548
    56   #SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
    57   #SET(CPACK_COMPONENT_LIBRARY_GROUP "Development")
    58   #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_GROUP "Documentation")
     49  SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
     50  SET(CPACK_COMPONENT_LIBRARY_GROUP "Development")
     51  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_GROUP "Documentation")
    5952
    60   #SET(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION
    61   #  "Components needed to develop software using LEMON")
    62   #SET(CPACK_COMPONENT_GROUP_DOCUMENTATION_DESCRIPTION
    63   #  "Documentation of LEMON")
     53  SET(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION
     54    "Components needed to develop software using LEMON")
     55  SET(CPACK_COMPONENT_GROUP_DOCUMENTATION_DESCRIPTION
     56    "Documentation of LEMON")
    6457
    65   #SET(CPACK_ALL_INSTALL_TYPES Full Developer)
     58  SET(CPACK_ALL_INSTALL_TYPES Full Developer)
    6659
    67   #SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
    68   #SET(CPACK_COMPONENT_LIBRARY_INSTALL_TYPES Developer Full)
    69   #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full)
     60  SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
     61  SET(CPACK_COMPONENT_LIBRARY_INSTALL_TYPES Developer Full)
     62  SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full)
    7063
    7164  SET(CPACK_GENERATOR "NSIS")
Note: See TracChangeset for help on using the changeset viewer.