From 8957f732aacde2d01c14176cf7548708d9a4de02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Tue, 29 Mar 2022 19:48:35 +0800 Subject: [PATCH] edit cmake --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9feda72..b8405a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,17 +19,17 @@ message(STATUS "optional:-std=c99") add_executable(simple-dict-server server.c dict.c crypto.c) add_executable(simple-dict-client client.c crypto.c) -add_executable(migrate migrate.c) -add_executable(migratenew migratenew.c) add_executable(cfgwriter cfgwriter.c) +#add_executable(migrate migrate.c) +#add_executable(migratenew migratenew.c) target_link_libraries(simple-dict-server scrypto spb pthread) target_link_libraries(simple-dict-client scrypto pthread) -target_link_libraries(migrate spb) -target_link_libraries(migratenew spb) target_link_libraries(cfgwriter spb) +#target_link_libraries(migrate spb) +#target_link_libraries(migratenew spb) + INSTALL(TARGETS simple-dict-server RUNTIME DESTINATION bin) #INSTALL(TARGETS simple-dict-client RUNTIME DESTINATION bin) -#INSTALL(TARGETS migrate RUNTIME DESTINATION bin) #INSTALL(TARGETS cfgwriter RUNTIME DESTINATION bin) \ No newline at end of file