2021-09-22 13:25:55 +00:00
|
|
|
find_package(Boost ${BOOST_MIN_VERSION} REQUIRED COMPONENTS program_options)
|
2020-11-22 21:01:33 +00:00
|
|
|
|
2020-11-20 20:15:27 +00:00
|
|
|
add_executable(mapnik-index
|
|
|
|
mapnik-index.cpp
|
|
|
|
process_csv_file.cpp
|
|
|
|
process_geojson_file_x3.cpp
|
2020-11-21 10:34:45 +00: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 20:15:27 +00:00
|
|
|
)
|
2021-04-10 12:36:22 +00:00
|
|
|
|
2021-10-25 16:58:55 +00:00
|
|
|
set_target_properties(mapnik-index PROPERTIES
|
|
|
|
RUNTIME_OUTPUT_DIRECTORY "${MAPNIK_OUTPUT_DIR}"
|
|
|
|
)
|
|
|
|
|
2021-09-22 18:49:44 +00:00
|
|
|
mapnik_install_utility(mapnik-index)
|