-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
29 lines (21 loc) · 1.34 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 3.10)
project(ISPstats)
set(CMAKE_CXX_STANDARD 17)
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fno-omit-frame-pointer")
if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif()
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
add_executable(${PROJECT_NAME} main.cpp src/Server.cpp include/Server.h src/DBConnector.cpp include/DBConnector.h
handlers/scr/Factory.cpp handlers/include/Factory.h handlers/scr/Error.cpp handlers/include/Error.h
unities/src/PersonBase.cpp unities/include/PersonBase.h unities/src/ProjectBase.cpp
unities/include/ProjectBase.h unities/src/SprintsAndProjects.cpp unities/include/SprintsAndProjects.h
unities/src/JobsForPerson.cpp unities/include/JobsForPerson.h unities/src/SprintBase.cpp
unities/include/SprintBase.h unities/src/JobsForSprint.cpp unities/include/JobsForSprint.h
handlers/scr/handlers.cpp handlers/include/handlers.h include/Logger.h src/Logger.cpp unities/src/LeaderPerson.cpp unities/include/LeaderPerson.h)
target_link_libraries(${PROJECT_NAME} ${CONAN_LIBS})
TARGET_LINK_LIBRARIES(${PROJECT_NAME} mariadbclient)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} mariadb)