COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r508 r507  
    11CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
    22
    3 IF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
    4   INCLUDE(${CMAKE_SOURCE_DIR}/cmake/version.cmake)
    5 ELSE(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
    6   SET(PROJECT_NAME "LEMON")
    7   SET(PROJECT_VERSION "hg-tip" CACHE STRING "LEMON version string.")
    8 ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/cmake/version.cmake)
     3SET(PROJECT_NAME "LEMON")
     4SET(PROJECT_VERSION "hg-tip" CACHE STRING "The version string.")
    95
    106PROJECT(${PROJECT_NAME})
     
    4137
    4238IF(WIN32)
     39  INSTALL(FILES ${CMAKE_SOURCE_DIR}/cmake/nsis/lemon.ico
     40    DESTINATION bin)
     41ENDIF(WIN32)
     42
     43IF(WIN32)
    4344  SET(CPACK_PACKAGE_NAME ${PROJECT_NAME})
    44   SET(CPACK_PACKAGE_VENDOR "EGRES")
     45  SET(CPACK_PACKAGE_VENDOR
     46    "EGRES - Egervary Research Group on Combinatorial Optimization")
    4547  SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY
    4648    "LEMON - Library of Efficient Models and Optimization in Networks")
     
    5456    "${PROJECT_NAME} ${PROJECT_VERSION}")
    5557
    56   SET(CPACK_COMPONENTS_ALL headers library html_documentation)
     58  # Variables to generate a component-based installer.
     59  #SET(CPACK_COMPONENTS_ALL headers library html_documentation)
    5760
    58   SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers")
    59   SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Dynamic-link library")
    60   SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation")
     61  #SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers")
     62  #SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Static library")
     63  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation")
    6164
    62   SET(CPACK_COMPONENT_HEADERS_DESCRIPTION
    63     "C++ header files")
    64   SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION
    65     "DLL and import library")
    66   SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION
    67     "Doxygen generated documentation")
     65  #SET(CPACK_COMPONENT_HEADERS_DESCRIPTION
     66  #  "C++ header files for use with the LEMON library")
     67  #SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION
     68  #  "Static library used to build programs with LEMON")
     69  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION
     70  #  "Doxygen generated documentation")
    6871
    69   SET(CPACK_COMPONENT_HEADERS_DEPENDS library)
     72  #SET(CPACK_COMPONENT_HEADERS_DEPENDS library)
    7073
    71   SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
    72   SET(CPACK_COMPONENT_LIBRARY_GROUP "Development")
    73   SET(CPACK_COMPONENT_HTML_DOCUMENTATION_GROUP "Documentation")
     74  #SET(CPACK_COMPONENT_HEADERS_GROUP "Development")
     75  #SET(CPACK_COMPONENT_LIBRARY_GROUP "Development")
     76  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_GROUP "Documentation")
    7477
    75   SET(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION
    76     "Components needed to develop software using LEMON")
    77   SET(CPACK_COMPONENT_GROUP_DOCUMENTATION_DESCRIPTION
    78     "Documentation of LEMON")
     78  #SET(CPACK_COMPONENT_GROUP_DEVELOPMENT_DESCRIPTION
     79  #  "Components needed to develop software using LEMON")
     80  #SET(CPACK_COMPONENT_GROUP_DOCUMENTATION_DESCRIPTION
     81  #  "Documentation of LEMON")
    7982
    80   SET(CPACK_ALL_INSTALL_TYPES Full Developer)
     83  #SET(CPACK_ALL_INSTALL_TYPES Full Developer)
    8184
    82   SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
    83   SET(CPACK_COMPONENT_LIBRARY_INSTALL_TYPES Developer Full)
    84   SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full)
     85  #SET(CPACK_COMPONENT_HEADERS_INSTALL_TYPES Developer Full)
     86  #SET(CPACK_COMPONENT_LIBRARY_INSTALL_TYPES Developer Full)
     87  #SET(CPACK_COMPONENT_HTML_DOCUMENTATION_INSTALL_TYPES Full)
    8588
    8689  SET(CPACK_GENERATOR "NSIS")
Note: See TracChangeset for help on using the changeset viewer.