Add premake scripts for c# projects

This commit is contained in:
Jan
2019-10-22 11:32:19 +02:00
parent 0d103e24a5
commit d213bab3f2
21 changed files with 74 additions and 354 deletions

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
</configuration>

View File

@ -1,179 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<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>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{D1C20C32-9CB8-44B8-9DF7-F0CF8FB304D3}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>ZoneCodeGenerator</RootNamespace>
<AssemblyName>ZoneCodeGenerator</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</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="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
<HintPath>..\..\packages\Antlr3.Runtime.3.5.1\lib\net40-client\Antlr3.Runtime.dll</HintPath>
</Reference>
<Reference Include="Antlr4.StringTemplate, Version=4.0.7.0, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
<HintPath>..\..\packages\StringTemplate4.4.0.8\lib\net35-client\Antlr4.StringTemplate.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Domain\DataException.cs" />
<Compile Include="Domain\DataType.cs" />
<Compile Include="Domain\DataTypeBaseType.cs" />
<Compile Include="Domain\DataTypeEnum.cs" />
<Compile Include="Domain\DataTypeStruct.cs" />
<Compile Include="Domain\DataTypeType.cs" />
<Compile Include="Domain\DataTypeTypedef.cs" />
<Compile Include="Domain\DataTypeUnion.cs" />
<Compile Include="Domain\DataTypeWithMembers.cs" />
<Compile Include="Domain\EnumMember.cs" />
<Compile Include="Domain\Evaluation\IEvaluation.cs" />
<Compile Include="Domain\Evaluation\OperandDynamic.cs" />
<Compile Include="Domain\Evaluation\OperandStatic.cs" />
<Compile Include="Domain\Evaluation\Operation.cs" />
<Compile Include="Domain\Evaluation\OperationType.cs" />
<Compile Include="Domain\FastFileStructure\FastFileBlock.cs" />
<Compile Include="Domain\ForwardDeclaration.cs" />
<Compile Include="Domain\Namespace.cs" />
<Compile Include="Domain\ReferenceType.cs" />
<Compile Include="Domain\ReferenceTypeArray.cs" />
<Compile Include="Domain\ReferenceTypePointer.cs" />
<Compile Include="Domain\StructureInformation\MemberInformation.cs" />
<Compile Include="Domain\StructureInformation\StructureInformation.cs" />
<Compile Include="Domain\TypeDeclaration.cs" />
<Compile Include="Domain\Variable.cs" />
<Compile Include="Generating\CodeGenerator.cs" />
<Compile Include="Generating\CodeTemplate.cs" />
<Compile Include="Generating\RenderingContext.cs" />
<Compile Include="Generating\TemplateGroupResources.cs" />
<Compile Include="Interface\Arguments\ArgumentParser.cs" />
<Compile Include="Interface\Arguments\CommandLineOption.cs" />
<Compile Include="Interface\Arguments\UsageInformation.cs" />
<Compile Include="Interface\CommandLineOptions.cs" />
<Compile Include="Interface\CUI.cs" />
<Compile Include="Interface\CUISession.cs" />
<Compile Include="Interface\PrettyPrinter.cs" />
<Compile Include="LoadingException.cs" />
<Compile Include="Parsing\CommandFile\CommandFileReader.cs" />
<Compile Include="Parsing\CommandFile\ICommandParserState.cs" />
<Compile Include="Parsing\CommandFile\Impl\CommandFilePreprocessor.cs" />
<Compile Include="Parsing\CommandFile\Impl\CommandParserState.cs" />
<Compile Include="Parsing\CommandFile\PostProcessor\PostProcessorDefaultBlock.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestAsset.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestBlock.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestCondition.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestCount.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestGame.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestReorder.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestScriptString.cs" />
<Compile Include="Parsing\CommandFile\Tests\TestUse.cs" />
<Compile Include="Parsing\C_Header\Blocks\Block.cs" />
<Compile Include="Parsing\C_Header\Blocks\BlockEnum.cs" />
<Compile Include="Parsing\C_Header\Blocks\BlockNamespace.cs" />
<Compile Include="Parsing\C_Header\Blocks\BlockNone.cs" />
<Compile Include="Parsing\C_Header\Blocks\BlockStruct.cs" />
<Compile Include="Parsing\C_Header\Blocks\BlockUnion.cs" />
<Compile Include="Parsing\C_Header\Blocks\INameAssignable.cs" />
<Compile Include="Parsing\C_Header\Blocks\IVariableBlock.cs" />
<Compile Include="Parsing\C_Header\Blocks\IVariableHolder.cs" />
<Compile Include="Parsing\C_Header\BlockType.cs" />
<Compile Include="Parsing\C_Header\HeaderReader.cs" />
<Compile Include="Parsing\C_Header\IHeaderParserState.cs" />
<Compile Include="Parsing\C_Header\Impl\HeaderParserState.cs" />
<Compile Include="Parsing\C_Header\Impl\Preprocessor.cs" />
<Compile Include="Parsing\CommandFile\PostProcessor\PostProcessorUsages.cs" />
<Compile Include="Parsing\C_Header\Tests\TestCloseBlock.cs" />
<Compile Include="Parsing\C_Header\Tests\TestEnum.cs" />
<Compile Include="Parsing\C_Header\Tests\TestEnumMember.cs" />
<Compile Include="Parsing\C_Header\Tests\TestForwardDecl.cs" />
<Compile Include="Parsing\C_Header\Tests\TestNamespace.cs" />
<Compile Include="Parsing\C_Header\Tests\TestStruct.cs" />
<Compile Include="Parsing\C_Header\Tests\TestTypedef.cs" />
<Compile Include="Parsing\C_Header\Tests\TestUnion.cs" />
<Compile Include="Parsing\C_Header\Tests\TestVariable.cs" />
<Compile Include="Parsing\ICommentProcessor.cs" />
<Compile Include="Parsing\IDataPostProcessor.cs" />
<Compile Include="Parsing\IIncludingParsingStream.cs" />
<Compile Include="Parsing\ILexer.cs" />
<Compile Include="Parsing\Impl\CommentProcessor.cs" />
<Compile Include="Parsing\Impl\IncludingStreamFileSystem.cs" />
<Compile Include="Parsing\Impl\Lexer.cs" />
<Compile Include="Parsing\IParserState.cs" />
<Compile Include="Parsing\IParsingFileStream.cs" />
<Compile Include="Parsing\Matching\BaseMatcher.cs" />
<Compile Include="Parsing\Matching\GroupMatcher.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherArray.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherGroupAnd.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherGroupLoop.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherGroupOptional.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherGroupOr.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherLiteral.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherName.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherNumber.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherTypename.cs" />
<Compile Include="Parsing\Matching\Matchers\MatcherWithTag.cs" />
<Compile Include="Parsing\Matching\MatchingContext.cs" />
<Compile Include="Parsing\Matching\TokenMatcher.cs" />
<Compile Include="Parsing\Matching\TokenMatchingResult.cs" />
<Compile Include="Parsing\Parser.cs" />
<Compile Include="Parsing\ParserException.cs" />
<Compile Include="Parsing\Testing\AbstractTokenTest.cs" />
<Compile Include="Parsing\Testing\ITokenTest.cs" />
<Compile Include="Parsing\Testing\TestFailedException.cs" />
<Compile Include="Parsing\Testing\TokenTestResult.cs" />
<Compile Include="Persistence\IDataRepository.cs" />
<Compile Include="Persistence\InMemoryDataRepository.cs" />
<Compile Include="Persistence\IReadOnlyDataRepository.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utils\AlignmentExtension.cs" />
<Compile Include="Utils\KeyValueExtension.cs" />
<Compile Include="Utils\RandomName.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<EmbeddedResource Include="Generating\Templates\Common.stg" />
<EmbeddedResource Include="Generating\Templates\ZoneLoad.stg" />
<EmbeddedResource Include="Generating\Templates\ZoneWrite.stg" />
<EmbeddedResource Include="Generating\Templates\AssetStructTests.stg" />
<None Include="packages.config" />
</ItemGroup>
<ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Antlr3.Runtime" version="3.5.1" targetFramework="net461" />
<package id="Newtonsoft.Json" version="12.0.2" targetFramework="net461" />
<package id="StringTemplate4" version="4.0.8" targetFramework="net461" />
</packages>