2021-09-22 15:25:55 +02:00
|
|
|
find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
|
2020-11-22 22:01:33 +01:00
|
|
|
|
2020-11-20 21:15:27 +01:00
|
|
|
add_executable(mapnik-index
|
|
|
|
mapnik-index.cpp
|
|
|
|
process_csv_file.cpp
|
|
|
|
process_geojson_file_x3.cpp
|
2020-11-21 11:34:45 +01:00
|
|
|
../../plugins/input/csv/csv_utils.cpp # this project depends on this file
|
|
|
|
)
|
|
|
|
target_link_libraries(mapnik-index PRIVATE
|
|
|
|
mapnik::mapnik
|
|
|
|
mapnik::json
|
|
|
|
mapnik::wkt
|
|
|
|
Boost::program_options
|
2020-11-20 21:15:27 +01:00
|
|
|
)
|
2021-04-10 14:36:22 +02:00
|
|
|
|
2022-08-17 17:19:59 +02:00
|
|
|
set_target_properties(mapnik-index PROPERTIES
|
2021-10-25 18:58:55 +02:00
|
|
|
RUNTIME_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
|
2022-04-22 15:10:49 +02:00
|
|
|
MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>$<$<BOOL:${BUILD_SHARED_CRT}>:DLL>"
|
2021-10-25 18:58:55 +02:00
|
|
|
)
|
|
|
|
|
2021-09-22 20:49:44 +02:00
|
|
|
mapnik_install_utility(mapnik-index)
|