536 changes: 536 additions & 0 deletions src/vcbuild/ddmd.visualdproj

Large diffs are not rendered by default.

55 changes: 0 additions & 55 deletions src/vcbuild/dmc_cl.bat

This file was deleted.

41 changes: 41 additions & 0 deletions src/vcbuild/dmd.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dmd_backend", "dmd_backend.vcxproj", "{2387389D-7D3F-4D5E-AE0E-C871776E8432}"
EndProject
Project("{002A2DE9-8BB6-484D-9802-7E4AD4084715}") = "ddmd", "ddmd.visualdproj", "{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}"
ProjectSection(ProjectDependencies) = postProject
{2387389D-7D3F-4D5E-AE0E-C871776E8432} = {2387389D-7D3F-4D5E-AE0E-C871776E8432}
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Debug|Win32.ActiveCfg = Debug|Win32
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Debug|Win32.Build.0 = Debug|Win32
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Debug|x64.ActiveCfg = Debug|x64
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Debug|x64.Build.0 = Debug|x64
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Release|Win32.ActiveCfg = Release|Win32
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Release|Win32.Build.0 = Release|Win32
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Release|x64.ActiveCfg = Release|x64
{2387389D-7D3F-4D5E-AE0E-C871776E8432}.Release|x64.Build.0 = Release|x64
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Debug|Win32.ActiveCfg = Debug|Win32
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Debug|Win32.Build.0 = Debug|Win32
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Debug|x64.ActiveCfg = Debug|x64
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Debug|x64.Build.0 = Debug|x64
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Release|Win32.ActiveCfg = Release|Win32
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Release|Win32.Build.0 = Release|Win32
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Release|x64.ActiveCfg = Release|x64
{FD789BD7-AB7E-4264-B146-8139DDE9F0BF}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
289 changes: 289 additions & 0 deletions src/vcbuild/dmd_backend.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,289 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{2387389D-7D3F-4D5E-AE0E-C871776E8432}</ProjectGuid>
<RootNamespace>dmd</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<WholeProgramOptimization Condition="'$(Configuration)'=='Release'">false</WholeProgramOptimization>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion>
<OutDir>generated\$(Configuration)_$(PlatformName)\</OutDir>
<IntDir>$(OutDir)</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<ItemDefinitionGroup>
<ClCompile>
<AdditionalIncludeDirectories>..\root;..\tk;..\backend;.;.;..;$(IntDir)generated;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions Condition="'$(Configuration)'=='Debug'">DEBUG;_DEBUG;TARGET_WINDOS%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Configuration)'=='Release'">TARGET_WINDOS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary Condition="'$(Configuration)'=='Debug'">MultiThreadedDebug</RuntimeLibrary>
<RuntimeLibrary Condition="'$(Configuration)'=='Release'">MultiThreaded</RuntimeLibrary>
<Optimization Condition="'$(Configuration)'=='Release'">MaxSpeed</Optimization>
<InlineFunctionExpansion Condition="'$(Configuration)'=='Release'">AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions Condition="'$(Configuration)'=='Release'">true</IntrinsicFunctions>
<FavorSizeOrSpeed Condition="'$(Configuration)'=='Release'">Speed</FavorSizeOrSpeed>
<OmitFramePointers Condition="'$(Configuration)'=='Release'">true</OmitFramePointers>
<BufferSecurityCheck Condition="'$(Configuration)'=='Release'">false</BufferSecurityCheck>
<StructMemberAlignment>8Bytes</StructMemberAlignment>
<WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CompileAs>CompileAsCpp</CompileAs>
<ForcedIncludeFiles>vcbuild\warnings.h;%(ForcedIncludeFiles)</ForcedIncludeFiles>
<InlineFunctionExpansion Condition="'$(Configuration)'=='Debug'">Disabled</InlineFunctionExpansion>
<Optimization Condition="'$(Configuration)'=='Debug'">Disabled</Optimization>
</ClCompile>
<Link>
<AdditionalOptions>/LARGEADDRESSAWARE %(AdditionalOptions)</AdditionalOptions>
<OutputFile>$(OutDir)$(ProjectName).exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OptimizeReferences Condition="'$(Configuration)'=='Debug'">false</OptimizeReferences>
<OptimizeReferences Condition="'$(Configuration)'=='Release'">true</OptimizeReferences>
<EnableCOMDATFolding Condition="'$(Configuration)'=='Debug'">false</EnableCOMDATFolding>
<EnableCOMDATFolding Condition="'$(Configuration)'=='Release'">true</EnableCOMDATFolding>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\backend\backconfig.c" />
<ClCompile Include="..\backend\cv8.c" />
<ClCompile Include="..\backend\pdata.c" />
<ClCompile Include="..\backend\ph2.c" />
<ClCompile Include="..\backend\util2.c" />
<ClCompile Include="..\e2ir.c" />
<ClCompile Include="..\eh.c" />
<ClCompile Include="..\glue.c" />
<ClCompile Include="..\iasm.c" />
<ClCompile Include="..\msc.c" />
<ClCompile Include="..\objc_glue_stubs.c" />
<ClCompile Include="..\s2ir.c" />
<ClCompile Include="..\tk.c" />
<ClCompile Include="..\tocsym.c" />
<ClCompile Include="..\tocvdebug.c" />
<ClCompile Include="..\todt.c" />
<ClCompile Include="..\toelfdebug.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\toir.c" />
<ClCompile Include="..\toobj.c" />
<ClCompile Include="..\backend\aa.c" />
<ClCompile Include="..\backend\bcomplex.c" />
<ClCompile Include="..\backend\blockopt.c" />
<ClCompile Include="..\backend\cg.c" />
<ClCompile Include="..\backend\cg87.c" />
<ClCompile Include="..\backend\cgcod.c" />
<ClCompile Include="..\backend\cgcs.c" />
<ClCompile Include="..\backend\cgcv.c" />
<ClCompile Include="..\backend\cgelem.c" />
<ClCompile Include="..\backend\cgen.c" />
<ClCompile Include="..\backend\cgobj.c" />
<ClCompile Include="..\backend\cgreg.c" />
<ClCompile Include="..\backend\cgsched.c" />
<ClCompile Include="..\backend\cgxmm.c" />
<ClCompile Include="..\backend\cod1.c" />
<ClCompile Include="..\backend\cod2.c" />
<ClCompile Include="..\backend\cod3.c" />
<ClCompile Include="..\backend\cod4.c" />
<ClCompile Include="..\backend\cod5.c" />
<ClCompile Include="..\backend\code.c" />
<ClCompile Include="..\backend\cppman.c" />
<ClCompile Include="..\backend\debug.c" />
<ClCompile Include="..\backend\divcoeff.c" />
<ClCompile Include="..\backend\dt.c" />
<ClCompile Include="..\backend\dwarf.c" />
<ClCompile Include="..\backend\ee.c" />
<ClCompile Include="..\backend\el.c" />
<ClCompile Include="..\backend\elfobj.c" />
<ClCompile Include="..\backend\evalu8.c" />
<ClCompile Include="..\backend\gdag.c" />
<ClCompile Include="..\backend\gflow.c" />
<ClCompile Include="..\backend\glocal.c" />
<ClCompile Include="..\backend\gloop.c" />
<ClCompile Include="..\backend\go.c" />
<ClCompile Include="..\backend\gother.c" />
<ClCompile Include="..\backend\machobj.c" />
<ClCompile Include="..\backend\md5.c" />
<ClCompile Include="..\backend\mscoffobj.c" />
<ClCompile Include="..\backend\newman.c" />
<ClCompile Include="..\backend\nteh.c" />
<ClCompile Include="..\backend\os.c" />
<ClCompile Include="..\backend\out.c" />
<ClCompile Include="..\backend\outbuf.c" />
<ClCompile Include="..\backend\ptrntab.c" />
<ClCompile Include="..\backend\rtlsym.c" />
<ClCompile Include="..\backend\strtold.c" />
<ClCompile Include="..\backend\symbol.c" />
<ClCompile Include="..\backend\ti_achar.c" />
<ClCompile Include="..\backend\ti_pvoid.c" />
<ClCompile Include="..\backend\type.c" />
<ClCompile Include="..\backend\var.c" />
<ClCompile Include="..\tk\filespec.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\tk\list.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\tk\mem.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\tk\vec.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\root\longdouble.c" />
<ClCompile Include="..\root\newdelete.c" />
<CustomBuild Include="..\idgen.d">
<Message>Building and running $(IntDir)%(Filename).exe</Message>
<Outputs>$(IntDir)generated\id.d;$(IntDir)generated\id.c;$(IntDir)generated\id.h;$(IntDir)%(Filename).exe;%(Outputs)</Outputs>
<Command>set DMDDir=
for /F "tokens=1,2*" %%i in ('reg query HKLM\Software\DMD /v "InstallationFolder" /reg:32') DO (
if "%%i"=="InstallationFolder" set DMDDir=%%k\dmd2\windows\bin;
)
set PATH=%DMDDir%;%PATH%
dmd -od$(IntDir)generated -of$(IntDir)generated\%(Filename).exe %(Identity)
if errorlevel 1 exit /B %ERRORLEVEL%
pushd $(IntDir)generated
%(Filename).exe
if errorlevel 1 exit /B %ERRORLEVEL%
popd</Command>
</CustomBuild>
<CustomBuild Include="..\backend\optabgen.c">
<Message>Building and running $(IntDir)%(Filename).exe</Message>
<Command>cl /TP /I..\tk /I..\root /I. /I.. /FIwarnings.h /Fo"$(IntDir)%(Filename).obj" /Fe"$(IntDir)generated\%(Filename).exe" "%(FullPath)"
if errorlevel 1 exit /B %ERRORLEVEL%
pushd $(IntDir)generated
"%(Filename).exe"
if errorlevel 1 exit /B %ERRORLEVEL%
popd</Command>
<Outputs>$(IntDir)generated\optab.c;$(IntDir)generated\debtab.c;$(IntDir)generated\cdxxx.c;$(IntDir)generated\elxxx.c;$(IntDir)generated\tytab.c;$(IntDir)generated\fltables.c;%(Outputs)</Outputs>
<AdditionalInputs>..\backend\cc.h;..\backend\oper.h;%(AdditionalInputs)</AdditionalInputs>
</CustomBuild>
<ClCompile Include="..\libelf.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\libmach.c">
<ExcludedFromBuild>true</ExcludedFromBuild>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\aggregate.h" />
<ClInclude Include="..\aliasthis.h" />
<ClInclude Include="..\arraytypes.h" />
<ClInclude Include="..\attrib.h" />
<ClInclude Include="..\complex_t.h" />
<ClInclude Include="..\cond.h" />
<ClInclude Include="..\declaration.h" />
<ClInclude Include="..\dsymbol.h" />
<ClInclude Include="..\enum.h" />
<ClInclude Include="..\errors.h" />
<ClInclude Include="..\expression.h" />
<ClInclude Include="..\globals.h" />
<ClInclude Include="..\hdrgen.h" />
<ClInclude Include="..\identifier.h" />
<ClInclude Include="..\import.h" />
<ClInclude Include="..\init.h" />
<ClInclude Include="..\intrange.h" />
<ClInclude Include="..\irstate.h" />
<ClInclude Include="..\json.h" />
<ClInclude Include="..\lexer.h" />
<ClInclude Include="..\lib.h" />
<ClInclude Include="..\macro.h" />
<ClInclude Include="..\mars.h" />
<ClInclude Include="..\module.h" />
<ClInclude Include="..\mtype.h" />
<ClInclude Include="..\nspace.h" />
<ClInclude Include="..\objc.h" />
<ClInclude Include="..\parse.h" />
<ClInclude Include="..\scope.h" />
<ClInclude Include="..\statement.h" />
<ClInclude Include="..\staticassert.h" />
<ClInclude Include="..\target.h" />
<ClInclude Include="..\template.h" />
<ClInclude Include="..\toir.h" />
<ClInclude Include="..\tokens.h" />
<ClInclude Include="..\utf.h" />
<ClInclude Include="..\version.h" />
<ClInclude Include="..\backend\aa.h" />
<ClInclude Include="..\backend\bcomplex.h" />
<ClInclude Include="..\backend\cc.h" />
<ClInclude Include="..\backend\cdef.h" />
<ClInclude Include="..\backend\cdeflnx.h" />
<ClInclude Include="..\backend\cgcv.h" />
<ClInclude Include="..\backend\code.h" />
<ClInclude Include="..\backend\cv4.h" />
<ClInclude Include="..\backend\dt.h" />
<ClInclude Include="..\backend\dwarf.h" />
<ClInclude Include="..\backend\dwarf2.h" />
<ClInclude Include="..\backend\el.h" />
<ClInclude Include="..\backend\exh.h" />
<ClInclude Include="..\backend\global.h" />
<ClInclude Include="..\backend\go.h" />
<ClInclude Include="..\backend\iasm.h" />
<ClInclude Include="..\backend\mach.h" />
<ClInclude Include="..\backend\md5.h" />
<ClInclude Include="..\backend\melf.h" />
<ClInclude Include="..\backend\mscoff.h" />
<ClInclude Include="..\backend\oper.h" />
<ClInclude Include="..\backend\outbuf.h" />
<ClInclude Include="..\backend\rtlsym.h" />
<ClInclude Include="..\backend\tassert.h" />
<ClInclude Include="..\backend\tinfo.h" />
<ClInclude Include="..\backend\token.h" />
<ClInclude Include="..\backend\ty.h" />
<ClInclude Include="..\backend\type.h" />
<ClInclude Include="..\tk\filespec.h" />
<ClInclude Include="..\tk\list.h" />
<ClInclude Include="..\tk\mem.h" />
<ClInclude Include="..\tk\vec.h" />
<ClInclude Include="..\root\aav.h" />
<ClInclude Include="..\root\longdouble.h" />
<ClInclude Include="..\root\port.h" />
<ClInclude Include="..\root\rmem.h" />
<ClInclude Include="..\root\root.h" />
<ClInclude Include="..\root\speller.h" />
<ClInclude Include="..\root\stringtable.h" />
<ClInclude Include="..\id.h" />
<ClInclude Include="..\vcbuild\alloca.h" />
<ClInclude Include="..\vcbuild\fenv.h" />
<ClInclude Include="..\vcbuild\stdint.h" />
<ClInclude Include="..\vcbuild\warnings.h" />
</ItemGroup>
<ItemGroup>
<CustomBuild Include="..\vcbuild\ldfpu.asm">
<ExcludedFromBuild Condition="'$(Platform)'=='Win32'">true</ExcludedFromBuild>
<Message>Assembling $(IntDir)%(Filename)%(Extension)</Message>
<Command>ml64 -c -Zi "-Fl$(IntDir)%(Filename).lst" "-Fo$(IntDir)%(Filename).obj" "%(FullPath)"</Command>
<Outputs>$(IntDir)%(Filename).obj;%(Outputs)</Outputs>
</CustomBuild>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
521 changes: 521 additions & 0 deletions src/vcbuild/dmd_backend.vcxproj.filters

Large diffs are not rendered by default.