diff --git a/CMakePresets.json b/CMakePresets.json index dbf9dac33..cb8f774de 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -9,15 +9,15 @@ { "name": "use-ninja", "hidden": true, - "generator": "Ninja" + "generator": "Ninja", + "cacheVariables": { + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + } }, { "name": "default-build-dir", "hidden": true, - "binaryDir": "${sourceDir}/build/${presetName}", - "cacheVariables": { - "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" - } + "binaryDir": "${sourceDir}/build/${presetName}" }, { "name": "debug-build", @@ -29,6 +29,15 @@ "USE_LOG_SEVERITY": "0" } }, + { + "name": "release-with-debug-build", + "hidden": true, + "cacheVariables": { + "CMAKE_BUILD_TYPE": "RelWithDebInfo", + "USE_DEBUG_OUTPUT": "OFF", + "USE_LOG": "OFF" + } + }, { "name": "release-build", "hidden": true, @@ -191,5 +200,18 @@ "name": "linux-gcc-release", "configurePreset": "linux-gcc-release" } + ], + "testPresets": [ + { + "name": "test-default", + "hidden": true, + "output": { + "outputOnFailure": true + }, + "execution": { + "noTestsAction": "error", + "stopOnFailure": false + } + } ] } diff --git a/vcpkg.json b/vcpkg.json new file mode 100644 index 000000000..e3553d412 --- /dev/null +++ b/vcpkg.json @@ -0,0 +1,69 @@ +{ + "name": "mapnik", + "version-string": "master", + "description": "Mapnik is an open source toolkit for developing mapping applications.", + "homepage": "https://github.com/mapnik/mapnik", + "dependencies": [ + "boost-assign", + "boost-bimap", + "boost-filesystem", + "boost-geometry", + "boost-gil", + "boost-interprocess", + { + "name": "boost-locale", + "features": [ + "icu" + ] + }, + "boost-msm", + "boost-program-options", + "boost-property-tree", + { + "name": "boost-regex", + "features": [ + "icu" + ] + }, + "boost-spirit", + "boost-system", + "cairo", + "cairomm", + { + "name": "freetype", + "features": [ + "bzip2", + "png" + ] + }, + "gdal", + { + "name": "harfbuzz", + "features": [ + "icu" + ] + }, + { + "name": "harfbuzz", + "features": [ + "coretext" + ], + "platform": "osx" + }, + "icu", + "libjpeg-turbo", + "libodb-pgsql", + "libpng", + "libpq", + "libwebp", + "libxml2", + "mapbox-geometry", + "mapbox-polylabel", + "mapbox-variant", + "proj4", + "protozero", + "sqlite3", + "tiff", + "zlib" + ] +}