adding client/server prototype
This commit is contained in:
@@ -6,7 +6,7 @@ set(CMAKE_BUILD_TYPE Release)
|
||||
|
||||
project("commons" CXX)
|
||||
|
||||
add_definitions("-std=c++2a -g")
|
||||
add_definitions("-lpthread -std=c++2a -g")
|
||||
|
||||
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
|
||||
conan_basic_setup()
|
||||
@@ -14,6 +14,8 @@ conan_basic_setup()
|
||||
add_library(commons_lib
|
||||
include/commons.cpp
|
||||
src/protocol.cpp
|
||||
src/server.cpp
|
||||
src/client.cpp
|
||||
)
|
||||
|
||||
target_include_directories (commons_lib
|
||||
@@ -29,6 +31,10 @@ target_link_libraries(commons_lib
|
||||
|
||||
add_executable(commons
|
||||
src/main.cpp
|
||||
include/commons.cpp
|
||||
src/protocol.cpp
|
||||
src/server.cpp
|
||||
src/client.cpp
|
||||
)
|
||||
|
||||
target_include_directories(commons
|
||||
|
||||
Reference in New Issue
Block a user