lemon/CMakeLists.txt
changeset 225 c5a40fc54f1a
parent 141 96f81c791f0c
child 368 879c55700cd4
     1.1 --- a/lemon/CMakeLists.txt	Fri Jul 18 16:36:57 2008 +0100
     1.2 +++ b/lemon/CMakeLists.txt	Fri Jul 18 16:36:58 2008 +0100
     1.3 @@ -1,2 +1,18 @@
     1.4 -include_directories (${LEMON_SOURCE_DIR})
     1.5 -add_library (lemon arg_parser.cc base.cc color.cc random.cc)
     1.6 +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR})
     1.7 +
     1.8 +ADD_LIBRARY(lemon
     1.9 +  arg_parser.cc
    1.10 +  base.cc
    1.11 +  color.cc
    1.12 +  random.cc)
    1.13 +
    1.14 +INSTALL(
    1.15 +  TARGETS lemon
    1.16 +  ARCHIVE DESTINATION lib
    1.17 +  COMPONENT library)
    1.18 +
    1.19 +INSTALL(
    1.20 +  DIRECTORY . bits concepts
    1.21 +  DESTINATION include/lemon
    1.22 +  COMPONENT headers
    1.23 +  FILES_MATCHING PATTERN "*.h")