r866:2e9655402778
555 B
text/plain
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${PROJECT_BINARY_DIR} ) CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h ) ADD_LIBRARY(lemon arg_parser.cc base.cc color.cc random.cc bits/windows.cc ) INSTALL( TARGETS lemon ARCHIVE DESTINATION lib COMPONENT library) INSTALL( DIRECTORY . bits concepts DESTINATION include/lemon COMPONENT headers FILES_MATCHING PATTERN "*.h") INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h DESTINATION include/lemon COMPONENT headers)