diff --git a/.gitignore b/.gitignore index 2ecdd4b32..922bdcf21 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +.vscode *.gcov *.gcda *.gcno @@ -56,3 +57,5 @@ demo/viewer/ui_layer_info.h test/standalone/*-bin test/unit/run test/visual/run +# cmake +build diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 000000000..ecad3a171 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.15.0) +project(mapnik + VERSION 3.0.24 + HOMEPAGE_URL "https://mapnik.org/" + DESCRIPTION "Mapnik is an open source toolkit for developing mapping applications" + LANGUAGES CXX +) \ No newline at end of file diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt new file mode 100644 index 000000000..17e4ecbd7 --- /dev/null +++ b/plugins/CMakeLists.txt @@ -0,0 +1,2 @@ +cmake_minimum_required(VERSION 3.15.0) +add_subdirectory(input) \ No newline at end of file diff --git a/plugins/input/CMakeLists.txt b/plugins/input/CMakeLists.txt new file mode 100644 index 000000000..edbb7c5e3 --- /dev/null +++ b/plugins/input/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.15.0) +add_subdirectory(csv) +add_subdirectory(gdal) +add_subdirectory(geobuf) +add_subdirectory(geojson) +add_subdirectory(ogr) +add_subdirectory(pgraster) +add_subdirectory(postgis) +add_subdirectory(raster) +add_subdirectory(shape) +add_subdirectory(sqlite) +add_subdirectory(topojson) \ No newline at end of file diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt new file mode 100644 index 000000000..e2f28bb11 --- /dev/null +++ b/utils/CMakeLists.txt @@ -0,0 +1,8 @@ +cmake_minimum_required(VERSION 3.15.0) +add_subdirectory(geometry_to_wkb) +add_subdirectory(mapnik-index) +add_subdirectory(mapnik-render) +add_subdirectory(ogrindex) +add_subdirectory(pgsql2sqlite) +add_subdirectory(shapeindex) +add_subdirectory(svg2png) \ No newline at end of file