@@ -3,6 +3,7 @@ We're trying to rewrite nmake-based build system for Sumatra in [gyp](https://gi
Gyp is not well documented, what I know comes from reverse-engineering by looking at .gyp files from other projects, found with [github code search](https://github.com/search?utf8=%E2%9C%93&q=variables+extension%3Agyp&type=Code&ref=searchresults)
Basic setup:
* get the latest version of gyp with `git clone --depth 1 https://chromium.googlesource.com/external/gyp`
* for each component (a library or executable) write `foo.gyp`
* write `common.gypi` which will contain definitions common for all components. Things like configuration settings (Release, Debug etc.) and variables that can modify how a component is build