Skip to content

Add function to specify build-tool generator #8

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

Merged
merged 1 commit into from
Apr 9, 2016
Merged

Add function to specify build-tool generator #8

merged 1 commit into from
Apr 9, 2016

Conversation

caipre
Copy link
Contributor

@caipre caipre commented Apr 9, 2016

Required for rust-lang/rust#32809

@@ -237,7 +245,9 @@ impl Config {
// On MinGW we need to coerce cmake to not generate a visual
// studio build system but instead use makefiles that MinGW can
// use to build.
cmd.arg("-G").arg("MSYS Makefiles");
if self.generator.is_none() {
self.generator("MSYS Makefiles");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this actually just pass down -G directly? In theory we don't want to do too much mutation as part of this call of the Config structure itself

@alexcrichton
Copy link
Member

Just a few minor nits but otherwise looks good to me! Could you also back out the version number change for now? I like to do separate standalone commits with that

@caipre
Copy link
Contributor Author

caipre commented Apr 9, 2016

Thanks for the review, I've pushed a new commit.

@alexcrichton alexcrichton merged commit 3eaa0b4 into rust-lang:master Apr 9, 2016
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