via the find_package(mapnik) all compile options and paths to fonts/plugins are available. I dont use mason, so if someone depends on that, someone needs do describe the steps to get mason up and running.
In the end, the whole vcpkg submodule can be removed again. Just here for faster development.
If someone needs to build from source, one can just add a local clone of vcpkg via -DCMAKE_TOOLCHAIN_FILE=<path to vcpkg toolchain>.
I'm just waiting for some feedback on this, before putting more effort into it.
Todos:
[ ] i think fonts needs to be installed without subdirs? currently it looks like mapnik/lib/fonts/dejavu-fonts-ttf-2.37/ttf
[ ] test on ubuntu
[ ] have someone a mac to test with? I have zero experience with mac and don't have one at home.
So this is mostly the same as for node-mapnik. It replaces most of the python build code with a cmake file.
It depends on https://github.com/mapnik/mapnik/pull/4191
via the
find_package(mapnik)
all compile options and paths to fonts/plugins are available. I dont use mason, so if someone depends on that, someone needs do describe the steps to get mason up and running.In the end, the whole vcpkg submodule can be removed again. Just here for faster development. If someone needs to build from source, one can just add a local clone of vcpkg via
-DCMAKE_TOOLCHAIN_FILE=<path to vcpkg toolchain>
.I'm just waiting for some feedback on this, before putting more effort into it.
Todos:
Some first results on windows-10:
rendered with cairo:![demo_cairo_rgb24](https://user-images.githubusercontent.com/13556116/126369263-554bf568-9af5-42ef-8123-0220f9db8d1f.png)