-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
32 lines (23 loc) · 966 Bytes
/
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
28
29
30
31
cmake_minimum_required(VERSION 3.10)
project(Census)
set(CMAKE_CXX_STANDARD 11)
include(/usr/local/lib/ktrade/cmake/ktrade-targets.cmake)
# boost
find_package(Boost 1.64 COMPONENTS system filesystem program_options date_time)
include_directories(${Boost_INCLUDE_DIRS})
add_executable(Census Census.cpp Census.h)
target_link_libraries(Census ${Boost_LIBRARIES})
target_link_libraries(Census Ktrd)
add_executable(Geoid Geoid.cpp Census.h)
target_link_libraries(Geoid ${Boost_LIBRARIES})
target_link_libraries(Geoid Ktrd)
add_executable(ElectColl ElColl.cpp ElColl.h)
target_link_libraries(ElectColl ${Boost_LIBRARIES})
target_link_libraries(ElectColl Ktrd)
add_executable(CreatePopInfile CreatePopInfile.cpp)
target_link_libraries(CreatePopInfile Ktrd)
add_executable(CreateOver18 CreateOver18.cpp)
target_link_libraries(CreateOver18 Ktrd)
add_executable(FixOverseas FixOverseas.cpp)
add_executable(Tests tests.cpp ElColl.h)
target_link_libraries(Tests Ktrd)