1.1 --- a/lemon/CMakeLists.txt Thu Jul 17 17:39:53 2008 +0200
1.2 +++ b/lemon/CMakeLists.txt Fri Jul 18 16:47:27 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")