-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dassie.csproj
45 lines (39 loc) · 2.57 KB
/
Dassie.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net481</TargetFramework>
<AssemblyName>dc</AssemblyName>
<RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
<Platforms>AnyCPU;x64</Platforms>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<LangVersion>12</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Deterministic>false</Deterministic>
<!--<DefineConstants>NET7_COMPATIBLE</DefineConstants>-->
<Company>Losch</Company>
<Product>Dassie</Product>
<ProductName>Dassie</ProductName>
<Description>Dassie Compiler</Description>
<Copyright>© 2024 Losch</Copyright>
</PropertyGroup>
<!--<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DefineConstants>$(DefineConstants);NET7_COMPATIBLE</DefineConstants>
</PropertyGroup>-->
<ItemGroup>
<PackageReference Include="Antlr4.Runtime.Standard" Version="4.12.0" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.6.3" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
<PackageReference Include="Microsoft.NETCore.ILAsm" Version="7.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Dassie.Configuration\Dassie.Configuration.csproj" />
<ProjectReference Include="..\Dassie.Core\Dassie.Core.csproj" />
<ProjectReference Include="..\Dassie.Text\Dassie.Text.csproj" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="java -jar $(SolutionDir)tools\antlr-4.12.0-complete.jar -visitor -Dlanguage=CSharp -package Dassie.Parser -o $(ProjectDir)Parser\Generated $(ProjectDir)Parser\DassieLexer.g4 $(ProjectDir)Parser\DassieParser.g4" />
</Target>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Condition="'$(Configuration)' == 'Debug'" Command="copy $(OutDir)dc.exe ..\..\..\lsedit\tools\assemblies\dc.exe &
 copy $(OutDir)dc.exe.config ..\..\..\lsedit\tools\assemblies\dc.exe.config &
 copy $(OutDir)dc.xml ..\..\..\lsedit\tools\assemblies\dc.xml &
 copy $(OutDir)dsconfig.dll ..\..\..\lsedit\tools\assemblies\dsconfig.dll &
 copy $(OutDir)dsconfig.xml ..\..\..\lsedit\tools\assemblies\dsconfig.xml &
 copy $(OutDir)Dassie.Core.dll ..\..\..\lsedit\tools\assemblies\Dassie.Core.dll &
 copy $(OutDir)Dassie.Core.xml ..\..\..\lsedit\tools\assemblies\Dassie.Core.xml &
 copy $(OutDir)dstx.dll ..\..\..\lsedit\tools\assemblies\dstx.dll &
 copy $(OutDir)dstx.xml ..\..\..\lsedit\tools\assemblies\dstx.xml" />
</Target>
</Project>