Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the Coco build and .exe to use VS 2017 and a .NET version 4.5
- Loading branch information
1 parent
b7a56a4
commit ff4ddc4
Showing
2 changed files
with
42 additions
and
45 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,50 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="3.5" DefaultTargets="Usage" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Target Name="Usage"> | ||
<Message Text="Possible Targets:"/> | ||
<Message Text=" clean: Full clean up."/> | ||
<Message Text=" build: Build Coco/R."/> | ||
<Message Text=" debug: Build Coco/R."/> | ||
<Message Text=" self: Create the parser and scanner from the atg."/> | ||
<Message Text=" "/> | ||
<Message Text="Example: msbuild /t:clean"/> | ||
</Target> | ||
|
||
<Target Name="clean"> | ||
<Delete Files="$(AppName).exe" Condition="Exists('$(AppName).exe')"/> | ||
<Delete Files="$(AppName).pdb" Condition="Exists('$(AppName).pdb')"/> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<Compile Include="Coco.cs" /> | ||
<Compile Include="Scanner.cs" /> | ||
<Compile Include="Tab.cs" /> | ||
<Compile Include="DFA.cs" /> | ||
<Compile Include="ParserGen.cs" /> | ||
<Compile Include="Parser.cs" /> | ||
</ItemGroup> | ||
|
||
<Target Name="build"> | ||
<Message Text="Building Coco/R..."/> | ||
<Csc Sources="@(Compile)" OutputAssembly="$(AppName).exe" EmitDebugInformation="false" Optimize="true"/> | ||
</Target> | ||
|
||
<Target Name="debug"> | ||
<Message Text="Building Debug Version of Coco/R..."/> | ||
<Csc Sources="@(Compile)" OutputAssembly="$(AppName).exe" EmitDebugInformation="true"/> | ||
</Target> | ||
|
||
<Target Name="self"> | ||
<Message Text="Self Build Coco/R..."/> | ||
<Exec Command="$(AppName).exe -namespace at.jku.ssw.Coco Coco.atg"/> | ||
</Target> | ||
|
||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> | ||
<PropertyGroup> | ||
<AppName>Coco</AppName> | ||
<OutputPath>.</OutputPath> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{0E177C54-6936-4965-BFD8-17CEEFCCD630}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<TargetFrameworkVersion>v1.1</TargetFrameworkVersion> | ||
<RootNamespace>Coco</RootNamespace> | ||
<AssemblyName>Coco</AssemblyName> | ||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>..\bin\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<PlatformTarget>AnyCPU</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="Microsoft.CSharp" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Coco.cs" /> | ||
<Compile Include="DFA.cs" /> | ||
<Compile Include="Parser.cs" /> | ||
<Compile Include="ParserGen.cs" /> | ||
<Compile Include="Scanner.cs" /> | ||
<Compile Include="Tab.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="App.config" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
</Project> |