lemon/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Fri, 13 Nov 2009 12:33:33 +0100
changeset 801 e9c203fb003d
parent 491 879c55700cd4
child 627 20dac2104519
permissions -rw-r--r--
Bug fix in map_extender.h (#330)
ladanyi@510
     1
INCLUDE_DIRECTORIES(
ladanyi@510
     2
  ${CMAKE_SOURCE_DIR}
ladanyi@510
     3
  ${PROJECT_BINARY_DIR}
ladanyi@510
     4
)
ladanyi@510
     5
ladanyi@510
     6
CONFIGURE_FILE(
ladanyi@510
     7
  ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
ladanyi@510
     8
  ${CMAKE_CURRENT_BINARY_DIR}/config.h
ladanyi@510
     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@491
    15
  random.cc
alpar@491
    16
  bits/windows.cc
alpar@491
    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@510
    29
ladanyi@510
    30
INSTALL(
ladanyi@510
    31
  FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
ladanyi@510
    32
  DESTINATION include/lemon
ladanyi@510
    33
  COMPONENT headers)