Moved tests into their own folder.
This commit is contained in:
parent
a01efa4a09
commit
f43c79ee55
16 changed files with 51 additions and 106 deletions
11
Tests/Test.NetCore/Program.cs
Normal file
11
Tests/Test.NetCore/Program.cs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
namespace Test.NetCore
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Examples.Test.Run(args);
|
||||
}
|
||||
}
|
||||
}
|
||||
34
Tests/Test.NetCore/Test.NetCore.csproj
Normal file
34
Tests/Test.NetCore/Test.NetCore.csproj
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp2.1</TargetFramework>
|
||||
<ApplicationIcon>raylib-cs.ico</ApplicationIcon>
|
||||
<Platforms>x64</Platforms>
|
||||
<StartupObject>physics_demo</StartupObject>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Optimize>false</Optimize>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<Optimize>false</Optimize>
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
<Optimize>false</Optimize>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\..\Examples\Examples.projitems" Label="Shared" />
|
||||
<Import Project="..\..\Examples\Examples.projitems" Label="Shared" />
|
||||
<Import Project="..\..\Bindings\Raylib.projitems" Label="Shared" />
|
||||
<Target Name="TestTarget" AfterTargets="Build">
|
||||
<Copy Condition=" '$(Platform)' == 'x86' " SourceFiles="..\..\Bindings\native\x86\raylib.dll" DestinationFolder="$(TargetDir)" />
|
||||
<Copy Condition=" '$(Platform)' == 'AnyCPU' " SourceFiles="..\..\Bindings\native\x86\raylib.dll" DestinationFolder="$(TargetDir)" />
|
||||
<Copy Condition=" '$(Platform)' == 'x64' " SourceFiles="..\..\Bindings\native\x64\raylib.dll" DestinationFolder="$(TargetDir)" />
|
||||
</Target>
|
||||
</Project>
|
||||
BIN
Tests/Test.NetCore/raylib-cs.ico
Normal file
BIN
Tests/Test.NetCore/raylib-cs.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 139 KiB |
Loading…
Reference in a new issue