Skip to content

Instantly share code, notes, and snippets.

@stephank
Created May 1, 2012 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephank/2570734 to your computer and use it in GitHub Desktop.
Save stephank/2570734 to your computer and use it in GitHub Desktop.
GYP product_dir with dependencies
{
"includes": [ "../include.gypi" ],
"targets": [
{
"target_name": "foobar",
"type": "executable",
"sources": [ "hello.c" ]
}
]
}
int main(int argc, char **argv) { return 0; }
{
"target_defaults": {
"product_dir": "products"
}
}
{
"targets": [
{
"target_name": "meta",
"type": "none",
"dependencies": [ "subdir/dep.gyp:foobar" ]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment