Parkmanne/CMakeLists.txt
MassiveAtoms db78ecd9cc Found cryptography library that was very easy to install.
Have hashing and verification functs ready.
2019-06-30 14:49:20 -03:00

47 lines
852 B
CMake

cmake_minimum_required(VERSION 3.14)
project(park)
set(CMAKE_CXX_STANDARD 11)
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp)
include_directories(
${CMAKE_CURRENT_LIST_DIR}/thirdparty/SQLiteCpp/include
)
add_executable(park
main.cpp
data.cpp
headers/data.h
Customer.cpp
headers/Customer.h
Park_spot.cpp
headers/Park_spot.h
Park_time.cpp
headers/Park_time.h
encrypt.cpp
headers/encrypt.h
)
if (UNIX)
target_link_libraries(park
SQLiteCpp
sqlite3
pthread
dl
libsodium
)
elseif (MSYS OR MINGW)
target_link_libraries(park
SQLiteCpp
sqlite3
pthread
ssp
libsodium
)
endif()