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

Split out C++ library #46

Closed
mikemorris opened this issue Jun 9, 2014 · 1 comment
Closed

Split out C++ library #46

mikemorris opened this issue Jun 9, 2014 · 1 comment

Comments

@mikemorris
Copy link
Contributor

From @springmeyer:

It would be able to be installed into /usr/local/, for example, and would have a fontnik-config or a pkg-config entry so apps could find it.

So one somewhat missing piece is how gyp would be used. Currently gyp is largely used when C++ code is vendored into another code base but it should work both ways, you should be able to have a set of gyp files that both allow for:

  • you to install a C++ lib into a given --prefix, and
  • bundle/vendor it into a larger app and just point to its .gyp file

If you strip node-gyp out you lose things that can be quickly added back. I think the best way to do it is a Python configure/install wrapper. We basically need cpp-gyp, written in Python, that works on Windows/Mac/Linux, and is able to take args like --prefix, --debug, --enable-static, --enable-shared, etc. Python dependency is already there due to gyp being Python.

@mikemorris mikemorris mentioned this issue Mar 20, 2015
3 tasks
@springmeyer
Copy link
Contributor

closing as per #80 (comment)

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

No branches or pull requests

2 participants