Parkmanne/CMakeLists.txt

20 lines
487 B
CMake
Raw Normal View History

2019-06-26 16:11:16 +00:00
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
)
2019-06-26 18:12:23 +00:00
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)
2019-06-26 16:11:16 +00:00
target_link_libraries(park
SQLiteCpp
sqlite3
pthread
dl
)