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

[core] Fix Visual Studio ExecutablePath settings. #768

Merged
merged 2 commits into from
May 2, 2017

Conversation

tvandijck
Copy link
Contributor

Turns out, the command line %PATH% variable is only resolved when you search for something, not at startup... so having relative paths in %PATH% breaks, as soon as you do a "cd " in your {pre/post}buildcommands..

This puts that %(ProjectDir) in front of all relative paths, so that the %PATH% variable only gets absolute paths during execution of the buildcommands.

Copy link
Member

@samsinsane samsinsane left a comment

Choose a reason for hiding this comment

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

LGTM but could probably do with a test case or two?

@samsinsane samsinsane merged commit 347c9c4 into premake:master May 2, 2017
@tvandijck tvandijck deleted the fix-vstudio branch May 2, 2017 16:56
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