Restructure

This commit is contained in:
IlushaShurupov 2023-07-19 23:52:07 +03:00 committed by Ilya Shurupov
parent 58db6fe058
commit f60e73fc32
12 changed files with 289 additions and 190 deletions

View file

@ -3,15 +3,11 @@ cmake_minimum_required(VERSION 3.2)
project(Applications)
file(GLOB SOURCES_CLIENT ./Client.cpp)
file(GLOB SOURCES_SERVER ./Server.cpp)
set(ASIO_INCLUDE ./../../Externals/asio/asio/include)
file(GLOB SOURCES_CLIENT ./Client.cpp ./SystemAPI.cpp)
file(GLOB SOURCES_SERVER ./Server.cpp ./SystemAPI.cpp)
add_executable(Client ${SOURCES_CLIENT})
include_directories(Client ${ASIO_INCLUDE})
#link_libraries(Client Storage CommandLine)
target_link_libraries(Client Storage CommandLine)
add_executable(Server ${SOURCES_SERVER})
include_directories(Server ${ASIO_INCLUDE})
#link_libraries(Server Storage CommandLine)
target_link_libraries(Server Storage CommandLine)