diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dca0a4d..03d1063 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,10 +57,13 @@ set(MAIN_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/main) include_directories (${INCLUDE_DIR}) add_library(uknapsack STATIC ${SRC_FILES}) -add_executable(uknapsack_bin ${MAIN_SRC_DIR}/uknapsack) +add_executable(uknapsack_bin ${MAIN_SRC_DIR}/uknapsack.c) +add_executable(online ${MAIN_SRC_DIR}/online.c) target_link_libraries(uknapsack_bin uknapsack) +target_link_libraries(online uknapsack) install(TARGETS uknapsack_bin DESTINATION bin) +install(TARGETS online DESTINATION bin) install(TARGETS uknapsack DESTINATION lib) install(FILES ${INCLUDE_FILES} DESTINATION include) |