Skip to content

Require 'gm' only when needed#2

Merged
laoshu133 merged 1 commit into
laoshu133:masterfrom
jsmarkus:master
Mar 5, 2014
Merged

Require 'gm' only when needed#2
laoshu133 merged 1 commit into
laoshu133:masterfrom
jsmarkus:master

Conversation

@jsmarkus

@jsmarkus jsmarkus commented Mar 4, 2014

Copy link
Copy Markdown
Contributor

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