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

Add additional tokens to fileconfig and vs2010+. #673

Merged
merged 1 commit into from
Jan 20, 2017

Conversation

tvandijck
Copy link
Contributor

This provides us with a workaround for a fix that was made that broke our builds.

#643

we relied on "path" being the "%(RelativeDir)" token in visual studio... obviously wrong, but we relied on it, so we need another way to get there..

@tvandijck tvandijck merged commit 1b776d8 into premake:master Jan 20, 2017
@tvandijck tvandijck deleted the token-fix branch January 20, 2017 17:32
@@ -31,7 +31,10 @@
["file.basename"] = { absolute = false, token = "%(Filename)" },
["file.abspath"] = { absolute = true, token = "%(FullPath)" },
["file.relpath"] = { absolute = false, token = "%(Identity)" },
["file.path"] = { absolute = true, token = "%(Identity)" },
["file.path"] = { absolute = false, token = "%(Identity)" },
Copy link
Member

Choose a reason for hiding this comment

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

Just want to verify that this should be changed to false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, %(Identity) is a relative path in msbuild... and in premake itself, path is an alias for relpath.

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