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

Require 'gm' only when needed #2

Merged
merged 1 commit into from
Mar 5, 2014
Merged

Conversation

jsmarkus
Copy link
Contributor

@jsmarkus jsmarkus commented Mar 4, 2014

For now gm module dependency is mandatory. As far as i know, installing graphicsmagic under Windows is not a trivial task. It requires external header files, or something like that. However, it should be an option to use pngsmith for building sprites on those Windows machines, where it is impossible (or undesirable) to compile graphicsmagic library. On the other hand gm is not needed every time - it's just mandatory when sprites for retina display are being processed.

So I decided to require gm on-demand. It gives a possibility to not use native C++ modules at all when retina images are not used.

laoshu133 added a commit that referenced this pull request Mar 5, 2014
Thank you very much to point out this issue, after a period of consideration, I decided to completely remove the `gm` module dependency . Thanks again.
@laoshu133 laoshu133 merged commit 1d17791 into laoshu133:master Mar 5, 2014
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.

2 participants