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

fix: Making ninja output on windows to work #1121

Closed
wants to merge 2 commits into from

Conversation

refack
Copy link
Contributor

@refack refack commented Feb 15, 2017

No description provided.

@bnoordhuis
Copy link
Member

I'm a little confused which PR I should review, this one or #1120?

Also, cc @kunalspathak.

@@ -0,0 +1,38 @@
From 06cea25b3af096b7fe82c25cc06ecba808ba9765 Mon Sep 17 00:00:00 2001
Copy link
Member

Choose a reason for hiding this comment

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

We don't need this file i believe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We're not doing that anymore?

Copy link
Member

Choose a reason for hiding this comment

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

never mind, i thought this was added accidentally.

@refack
Copy link
Contributor Author

refack commented Feb 16, 2017

@bnoordhuis This one is more complete. But requires a change in GYP, so I understand any pushback.
#1120 should be a no brainer ;)

@@ -109,7 +109,7 @@
'-luuid.lib',
'-lodbc32.lib',
'-lDelayImp.lib',
'-l"<(node_root_dir)/$(ConfigurationName)/<(node_lib_file)"'
'-l<(node_root_dir)/<(CONFIGURATION_NAME)/<(node_lib_file)'
Copy link
Member

Choose a reason for hiding this comment

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

won't this stop working for MSBuild ? Where is `(CONFIGURATION_NAME) defined ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

<(XXXXX) is GYP variable resolution (i.e. GYP will resolve this)

Copy link
Member

Choose a reason for hiding this comment

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

Sorry, may be i was not clear. What i mean is for MsBuild, this variable is declared here which makes it available here as well as at other places. I am wondering, with this change if you build using MsBuild, what value will this variable resolve to?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The process requires that GYP(CONFIGURATION_NAME) === MsBuild(ConfigurationName)
So now this resolution is a serpentius way, GYP sets it for MsBuild, and here MsBuild resolves it. And obviously it breaks for ninja/win32.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also #1118

@rvagg
Copy link
Member

rvagg commented Jun 21, 2019

closing due to age, hopefully this is taken up in refack/GYP and we can pull it in there?

@rvagg rvagg closed this Jun 21, 2019
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.

4 participants