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

replace verstr.h with VERSION #6749

Merged
merged 6 commits into from
May 8, 2017
Merged

Conversation

MartinNowak
Copy link
Member

  • no longer need the C include quotes

MartinNowak and others added 3 commits May 7, 2017 14:28
- no longer need the C string quotes
fixed visual studio build to generate VERSION instead of verstr.h
@MartinNowak
Copy link
Member Author

Auto-merge toggled on

@@ -410,7 +410,7 @@
</Config>
<Folder name="dmd">
<Folder name="gen">
<File tool="Custom" path="..\..\VERSION" customcmd="cmd /E:ON /Q /C &quot;for /f %%f in ( ..\..\VERSION ) do ( echo &quot;%%f&quot; )&quot; &gt;$(OutDir)\generated\verstr.h" uptodateWithSameTime="true" outfile="$(OutDir)\generated\verstr.h" />
<File tool="Custom" path="..\..\VERSION" customcmd="copy ..\..\VERSION $(OutDir)\VERSION" uptodateWithSameTime="true" outfile="$(OutDir)\VERSION" />
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for updating the VS project, too.
Why still copy the file instead of using "...." as a string import path?

@MartinNowak MartinNowak merged commit fc80c6b into dlang:master May 8, 2017
@MartinNowak MartinNowak deleted the version_file branch August 30, 2022 06:02
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.

3 participants