lemon/CMakeLists.txt
author Gabor Retvari <retvari@tmit.bme.hu>
Sun, 11 Apr 2010 22:28:42 +0200
changeset 888 1f2a734581f8
parent 482 879c55700cd4
child 627 20dac2104519
permissions -rw-r--r--
Fix PredMapPath::empty() (#366)
ladanyi@499
     1
INCLUDE_DIRECTORIES(
ladanyi@499
     2
  ${CMAKE_SOURCE_DIR}
ladanyi@499
     3
  ${PROJECT_BINARY_DIR}
ladanyi@499
     4
)
ladanyi@499
     5
ladanyi@499
     6
CONFIGURE_FILE(
ladanyi@499
     7
  ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
ladanyi@499
     8
  ${CMAKE_CURRENT_BINARY_DIR}/config.h
ladanyi@499
     9
)
alpar@225
    10
alpar@225
    11
ADD_LIBRARY(lemon
alpar@225
    12
  arg_parser.cc
alpar@225
    13
  base.cc
alpar@225
    14
  color.cc
alpar@482
    15
  random.cc
alpar@482
    16
  bits/windows.cc
alpar@482
    17
)
alpar@225
    18
alpar@225
    19
INSTALL(
alpar@225
    20
  TARGETS lemon
alpar@225
    21
  ARCHIVE DESTINATION lib
alpar@225
    22
  COMPONENT library)
alpar@225
    23
alpar@225
    24
INSTALL(
alpar@225
    25
  DIRECTORY . bits concepts
alpar@225
    26
  DESTINATION include/lemon
alpar@225
    27
  COMPONENT headers
alpar@225
    28
  FILES_MATCHING PATTERN "*.h")
ladanyi@499
    29
ladanyi@499
    30
INSTALL(
ladanyi@499
    31
  FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
ladanyi@499
    32
  DESTINATION include/lemon
ladanyi@499
    33
  COMPONENT headers)