24 lines
610 B
CMake
24 lines
610 B
CMake
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::core
|
|
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
|
|
RUNTIME DESTINATION ${PLUGINS_INSTALL_DIR}
|
|
)
|