2020-06-26 12:28:56 +00:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
2019-12-12 14:34:09 +00:00
|
|
|
project(Net)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
|
|
|
|
|
|
include_directories(include/)
|
|
|
|
include_directories(utils/)
|
|
|
|
|
2020-07-08 18:30:27 +00:00
|
|
|
find_package(Boost REQUIRED thread)
|
2020-06-26 12:28:56 +00:00
|
|
|
find_package(OpenSSL 1.1.1 REQUIRED)
|
2019-12-12 14:34:09 +00:00
|
|
|
|
2019-12-14 15:23:09 +00:00
|
|
|
include_directories(${Boost_INCLUDE_DIRS} ${OPENSSL_INCLUDE_DIR} ${SQLiteCpp_INCLUDE_DIRS})
|
2019-12-12 14:34:09 +00:00
|
|
|
|
2020-06-26 14:13:27 +00:00
|
|
|
enable_testing()
|
|
|
|
|
2020-06-26 12:28:56 +00:00
|
|
|
add_subdirectory(src)
|
2019-12-12 14:34:09 +00:00
|
|
|
|
2020-06-26 12:28:56 +00:00
|
|
|
add_subdirectory(test)
|