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

node-gyp hard-codes --generator_output to 'build' in PWD directory #486

Closed
dnwe opened this issue Aug 6, 2014 · 4 comments
Closed

node-gyp hard-codes --generator_output to 'build' in PWD directory #486

dnwe opened this issue Aug 6, 2014 · 4 comments

Comments

@dnwe
Copy link

dnwe commented Aug 6, 2014

Currently the output of node-gyp is hard-coded to be placed in $PWD/build (in configure.js output_dir = path.resolve('build') (for Windows) and just output_dir = 'build' for unix)

It would be useful if we could specify a custom output directory as a command-line option to node-gyp either via a node-gyp specific option node-gyp configure --build_dir=/tmp/somedir or by allowing us to pass-through our own generator_output parameter to pygyp: node-gyp configure -- --generator_output=/tmp/somedir

@kjwenger
Copy link

+1

@phtaylor
Copy link

+1!
Common guys, isn't this a pretty basic request for a build system? (its almost 2017)

@RebelSyntax
Copy link

2018 checking in. I need to move this location thanks to an issue when dealing with asar package structure.

@maclover7
Copy link
Contributor

Duplicate of #263, closing in favor of that issue (which has a WIP pull request attached to it)

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

5 participants