Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crossplatform build #242

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from
Draft

crossplatform build #242

wants to merge 15 commits into from

Conversation

mathisloge
Copy link
Collaborator

@mathisloge mathisloge commented Jul 20, 2021

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 mapnik/mapnik#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:

  • 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.

Some first results on windows-10:

rendered with cairo:
demo_cairo_rgb24

@mathisloge
Copy link
Collaborator Author

and code changes depend on mapnik/node-mapnik#975

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants