lemon/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Fri, 05 Aug 2011 00:22:15 +0200
branch1.0
changeset 428 a1d8d1736c68
parent 368 879c55700cd4
permissions -rw-r--r--
LEMON 1.0.7 released (c59bdcc8e33e tagged as r1.0.7)
     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 )
    10 
    11 ADD_LIBRARY(lemon
    12   arg_parser.cc
    13   base.cc
    14   color.cc
    15   random.cc
    16   bits/windows.cc
    17 )
    18 
    19 INSTALL(
    20   TARGETS lemon
    21   ARCHIVE DESTINATION lib
    22   COMPONENT library)
    23 
    24 INSTALL(
    25   DIRECTORY . bits concepts
    26   DESTINATION include/lemon
    27   COMPONENT headers
    28   FILES_MATCHING PATTERN "*.h")
    29 
    30 INSTALL(
    31   FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
    32   DESTINATION include/lemon
    33   COMPONENT headers)