2020-11-21 11:34:45 +01:00
|
|
|
project(input-shape)
|
|
|
|
|
|
|
|
add_library(input-shape SHARED
|
|
|
|
dbfile.cpp
|
|
|
|
dbf_test.cpp
|
|
|
|
shape_datasource.cpp
|
|
|
|
shape_featureset.cpp
|
|
|
|
shape_index_featureset.cpp
|
|
|
|
shape_io.cpp shape_utils.cpp
|
|
|
|
)
|
|
|
|
add_library(mapnik::plugin::input::shape ALIAS input-shape)
|
|
|
|
|
|
|
|
target_link_libraries(input-shape PRIVATE
|
|
|
|
mapnik::headers
|
|
|
|
mapnik::mapnik
|
|
|
|
)
|
|
|
|
|
|
|
|
set_target_properties(input-shape PROPERTIES PREFIX "")
|
|
|
|
set_target_properties(input-shape PROPERTIES OUTPUT_NAME "shape")
|
|
|
|
set_target_properties(input-shape PROPERTIES SUFFIX ".input")
|
|
|
|
|
|
|
|
install(TARGETS input-shape
|
2020-11-22 22:01:33 +01:00
|
|
|
RUNTIME DESTINATION ${PLUGINS_INSTALL_DIR}
|
2020-11-21 11:34:45 +01:00
|
|
|
)
|