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
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
)
|