ladanyi@499: INCLUDE_DIRECTORIES( ladanyi@499: ${CMAKE_SOURCE_DIR} ladanyi@499: ${PROJECT_BINARY_DIR} ladanyi@499: ) ladanyi@499: ladanyi@499: CONFIGURE_FILE( ladanyi@499: ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ladanyi@499: ${CMAKE_CURRENT_BINARY_DIR}/config.h ladanyi@499: ) alpar@225: alpar@225: ADD_LIBRARY(lemon alpar@225: arg_parser.cc alpar@225: base.cc alpar@225: color.cc alpar@482: random.cc alpar@482: bits/windows.cc alpar@482: ) alpar@225: alpar@225: INSTALL( alpar@225: TARGETS lemon alpar@225: ARCHIVE DESTINATION lib alpar@225: COMPONENT library) alpar@225: alpar@225: INSTALL( alpar@225: DIRECTORY . bits concepts alpar@225: DESTINATION include/lemon alpar@225: COMPONENT headers alpar@225: FILES_MATCHING PATTERN "*.h") ladanyi@499: ladanyi@499: INSTALL( ladanyi@499: FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h ladanyi@499: DESTINATION include/lemon ladanyi@499: COMPONENT headers)