2020-11-22 22:01:33 +01:00
|
|
|
project(shapeindex)
|
|
|
|
|
|
|
|
find_package(Boost 1.74 REQUIRED COMPONENTS program_options)
|
|
|
|
|
2020-11-20 21:15:27 +01:00
|
|
|
add_executable(shapeindex
|
|
|
|
shapeindex.cpp
|
|
|
|
)
|
|
|
|
|
2020-11-21 12:24:34 +01:00
|
|
|
target_include_directories(shapeindex PRIVATE ../../plugins/input/shape)
|
|
|
|
target_link_libraries(shapeindex PRIVATE
|
|
|
|
Boost::program_options
|
2021-03-18 15:35:55 +01:00
|
|
|
mapnik::core
|
2020-11-21 12:24:34 +01:00
|
|
|
mapnik::mapnik
|
|
|
|
)
|
2020-11-20 21:15:27 +01:00
|
|
|
install(TARGETS shapeindex
|
|
|
|
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
|
|
|
)
|