diff -r f9a18c21dba8 -r 4c9d85f5dc93 lemon/CMakeLists.txt --- a/lemon/CMakeLists.txt Thu Jul 17 17:39:53 2008 +0200 +++ b/lemon/CMakeLists.txt Fri Jul 18 16:47:27 2008 +0100 @@ -1,2 +1,18 @@ -include_directories (${LEMON_SOURCE_DIR}) -add_library (lemon arg_parser.cc base.cc color.cc random.cc) +INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) + +ADD_LIBRARY(lemon + arg_parser.cc + base.cc + color.cc + random.cc) + +INSTALL( + TARGETS lemon + ARCHIVE DESTINATION lib + COMPONENT library) + +INSTALL( + DIRECTORY . bits concepts + DESTINATION include/lemon + COMPONENT headers + FILES_MATCHING PATTERN "*.h")