2020-11-22 22:01:33 +01:00
|
|
|
project(mapnik-index)
|
|
|
|
|
|
|
|
find_package(Boost 1.74 REQUIRED COMPONENTS program_options)
|
|
|
|
|
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::headers
|
|
|
|
mapnik::mapnik
|
|
|
|
mapnik::json
|
|
|
|
mapnik::wkt
|
|
|
|
Boost::program_options
|
2020-11-20 21:15:27 +01:00
|
|
|
)
|
|
|
|
install(TARGETS mapnik-index
|
|
|
|
EXPORT MapnikTargets
|
2020-11-25 12:16:06 +01:00
|
|
|
LIBRARY DESTINATION ${MAPNIK_LIB_DIR}
|
|
|
|
ARCHIVE DESTINATION ${MAPNIK_ARCHIVE_DIR}
|
|
|
|
RUNTIME DESTINATION ${MAPNIK_BIN_DIR}
|
2020-11-25 12:17:31 +01:00
|
|
|
)
|