Skip to content

Commit

Permalink
VC: idgen.d udpate
Browse files Browse the repository at this point in the history
Assumes a working dmd.exe is in PATH.
  • Loading branch information
CyberShadow committed Mar 14, 2015
1 parent 7cb0b4f commit 2e51272
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions src/dmd_msc.vcproj
Expand Up @@ -1489,16 +1489,16 @@
Name="gen"
>
<File
RelativePath=".\idgen.c"
RelativePath=".\idgen.d"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCustomBuildTool"
Description="Building and running $(IntDir)\$(InputName).exe"
CommandLine="cl /TP /Fo$(IntDir)\$(InputName).obj /Fe$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.c"
CommandLine="dmd -od$(IntDir) -of$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.d"
Outputs="id.c;id.h;$(IntDir)\$(InputName).exe"
/>
</FileConfiguration>
Expand All @@ -1508,8 +1508,8 @@
<Tool
Name="VCCustomBuildTool"
Description="Building and running $(IntDir)\$(InputName).exe"
CommandLine="cl /TP /Fo$(IntDir)\$(InputName).obj /Fe$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.c"
CommandLine="dmd -od$(IntDir) -of$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.d"
Outputs="id.c;id.h;$(IntDir)\$(InputName).exe"
/>
</FileConfiguration>
Expand All @@ -1519,8 +1519,8 @@
<Tool
Name="VCCustomBuildTool"
Description="Building and running $(IntDir)\$(InputName).exe"
CommandLine="cl /TP /Fo$(IntDir)\$(InputName).obj /Fe$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.c"
CommandLine="dmd -od$(IntDir) -of$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.d"
Outputs="id.c;id.h;$(IntDir)\$(InputName).exe"
/>
</FileConfiguration>
Expand All @@ -1530,8 +1530,8 @@
<Tool
Name="VCCustomBuildTool"
Description="Building and running $(IntDir)\$(InputName).exe"
CommandLine="cl /TP /Fo$(IntDir)\$(InputName).obj /Fe$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.c"
CommandLine="dmd -od$(IntDir) -of$(IntDir)\$(InputName).exe $(InputFileName)&#x0D;&#x0A;if errorlevel 1 goto VCReportError&#x0D;&#x0A;$(IntDir)\$(InputName).exe&#x0D;&#x0A;"
AdditionalDependencies="idgen.d"
Outputs="id.c;id.h;$(IntDir)\$(InputName).exe"
/>
</FileConfiguration>
Expand Down
6 changes: 3 additions & 3 deletions src/dmd_msc.vcxproj
Expand Up @@ -237,10 +237,10 @@
<ClCompile Include="root\outbuffer.c" />
<ClCompile Include="root\speller.c" />
<ClCompile Include="root\stringtable.c" />
<CustomBuild Include="idgen.c">
<CustomBuild Include="idgen.d">
<Message>Building and running $(IntDir)%(Filename).exe</Message>
<Command>cl /TP /Fo$(IntDir)%(Filename).obj /Fe$(IntDir)%(Filename).exe %(Filename)%(Extension) &amp;&amp; $(IntDir)%(Filename).exe</Command>
<AdditionalInputs>idgen.c;%(AdditionalInputs)</AdditionalInputs>
<Command>dmd -od$(IntDir) -of$(IntDir)%(Filename).exe %(Filename)%(Extension) &amp;&amp; $(IntDir)%(Filename).exe</Command>
<AdditionalInputs>idgen.d;%(AdditionalInputs)</AdditionalInputs>
<Outputs>id.c;id.h;$(IntDir)%(Filename).exe;%(Outputs)</Outputs>
</CustomBuild>
<CustomBuild Include="impcnvgen.c">
Expand Down

0 comments on commit 2e51272

Please sign in to comment.