Parkmanne/CMakeLists.txt

55 lines
993 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.10)
2019-06-27 03:55:27 +00:00
project(park)
set(CMAKE_CXX_STANDARD 11)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp)
include_directories(
${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp/include
)
2019-06-29 22:59:48 +00:00
add_executable(park
main.cpp
2019-07-01 23:42:41 +00:00
2019-06-29 22:59:48 +00:00
data.cpp
headers/data.h
encrypt.cpp
headers/encrypt.h
2019-07-01 23:42:41 +00:00
2019-07-02 00:18:52 +00:00
Customer.cpp
headers/Customer.h
Park_spot.cpp
headers/Park_spot.h
Park_time.cpp
headers/Park_time.h
2019-07-09 12:17:33 +00:00
Admin.cpp
headers/Admin.h
2019-07-02 00:51:23 +00:00
Query.cpp
headers/Query.h
2019-07-06 14:52:01 +00:00
Interface.cpp
headers/Interface.h
2019-06-29 22:59:48 +00:00
)
2019-06-27 03:55:27 +00:00
if (UNIX)
target_link_libraries(park
SQLiteCpp
sqlite3
pthread
dl
2019-07-01 23:42:41 +00:00
sodium
2019-06-27 03:55:27 +00:00
)
elseif (MSYS OR MINGW)
target_link_libraries(park
SQLiteCpp
sqlite3
pthread
ssp
libsodium
2019-06-27 03:55:27 +00:00
)
endif()