lemon/CMakeLists.txt
changeset 906 e24922c56bc2
parent 482 879c55700cd4
child 627 20dac2104519
equal deleted inserted replaced
6:3e55cae7926f 7:2a56fabf997d
     1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     1 INCLUDE_DIRECTORIES(
       
     2   ${CMAKE_SOURCE_DIR}
       
     3   ${PROJECT_BINARY_DIR}
       
     4 )
       
     5 
       
     6 CONFIGURE_FILE(
       
     7   ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake
       
     8   ${CMAKE_CURRENT_BINARY_DIR}/config.h
       
     9 )
     2 
    10 
     3 ADD_LIBRARY(lemon
    11 ADD_LIBRARY(lemon
     4   arg_parser.cc
    12   arg_parser.cc
     5   base.cc
    13   base.cc
     6   color.cc
    14   color.cc
    16 INSTALL(
    24 INSTALL(
    17   DIRECTORY . bits concepts
    25   DIRECTORY . bits concepts
    18   DESTINATION include/lemon
    26   DESTINATION include/lemon
    19   COMPONENT headers
    27   COMPONENT headers
    20   FILES_MATCHING PATTERN "*.h")
    28   FILES_MATCHING PATTERN "*.h")
       
    29 
       
    30 INSTALL(
       
    31   FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
       
    32   DESTINATION include/lemon
       
    33   COMPONENT headers)