fix build option issues; refine cmake

This commit is contained in:
Chunting Gu
2021-02-05 14:12:26 +08:00
parent 1c35b97654
commit 7f345b7a4e
26 changed files with 70 additions and 65 deletions
+5 -4
View File
@@ -1,8 +1,8 @@
set(SRCS
book.cc
book.h
book_json.cc
book_json.h
book.cc
book.h
book_json.cc
book_json.h
book_client.cc
book_client.h
main.cc
@@ -10,3 +10,4 @@ set(SRCS
add_executable(book_client ${SRCS})
target_link_libraries(book_client ${EXAMPLE_LIBS} jsoncpp)
set_target_properties(book_client PROPERTIES FOLDER "Examples")