COIN-OR::LEMON - Graph Library

source: lemon-1.2/lemon/CMakeLists.txt @ 888:1f2a734581f8

Last change on this file since 888:1f2a734581f8 was 499:d8ca76573eb3, checked in by Akos Ladanyi <ladanyi@…>, 11 years ago

Install lemon/config.h (#274)

File size: 555 bytes
RevLine 
[499]1INCLUDE_DIRECTORIES(
2  ${CMAKE_SOURCE_DIR}
3  ${PROJECT_BINARY_DIR}
4)
5
6CONFIGURE_FILE(
7  ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
8  ${CMAKE_CURRENT_BINARY_DIR}/config.h
9)
[225]10
11ADD_LIBRARY(lemon
12  arg_parser.cc
13  base.cc
14  color.cc
[482]15  random.cc
16  bits/windows.cc
17)
[225]18
19INSTALL(
20  TARGETS lemon
21  ARCHIVE DESTINATION lib
22  COMPONENT library)
23
24INSTALL(
25  DIRECTORY . bits concepts
26  DESTINATION include/lemon
27  COMPONENT headers
28  FILES_MATCHING PATTERN "*.h")
[499]29
30INSTALL(
31  FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
32  DESTINATION include/lemon
33  COMPONENT headers)
Note: See TracBrowser for help on using the repository browser.