Skip to content

Commit e2ba53a

Browse files
committed
Move .NET tests to tests/dotnet.
1 parent 48e224a commit e2ba53a

File tree

113 files changed

+820
-19
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+820
-19
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<GeneratorFileExtension>dll</GeneratorFileExtension>
3535
<DotNetCmd Condition="'$(PlatformTarget)' == 'x86' AND Exists('$(MSBuildProgramFiles32)\dotnet\dotnet.exe')">"$(MSBuildProgramFiles32)\dotnet\dotnet.exe"</DotNetCmd>
3636
<DotNetCmd Condition="'$(PlatformTarget)' == 'x64' AND Exists('$(ProgramW6432)\dotnet\dotnet.exe')">"$(ProgramW6432)\dotnet\dotnet.exe"</DotNetCmd>
37-
<RID Condition="$(IsWindows)">win</RID>
37+
<RID Condition="$(IsWindows)">win</RID>
3838
<RID Condition="$(IsLinux)">linux</RID>
3939
<RID Condition="$(IsMacOSX)">osx</RID>
4040
<RID>$(RID)-$(PlatformTarget)</RID>

build/Helpers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ rootdir = path.getabsolute("../")
4747
srcdir = path.join(rootdir, "src");
4848
incdir = path.join(rootdir, "include");
4949
examplesdir = path.join(rootdir, "examples");
50-
testsdir = path.join(rootdir, "tests");
50+
testsdir = path.join(rootdir, "tests/dotnet");
5151
builddir = path.join(rootdir, "build")
5252
bindir = path.join(rootdir, "bin")
5353
objsdir = path.join(builddir, "obj");

build/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ workspace "CppSharp"
4444
workspacefiles(path.join(builddir, "premake5.lua"))
4545
workspacefiles(path.join(builddir, "*.sh"))
4646
workspacefiles(path.join(rootdir, ".github/workflows/*.yml"))
47-
workspacefiles(path.join(rootdir, "tests/Test*.props"))
47+
workspacefiles(path.join(testsdir, "Test*.props"))
4848

4949
group "Libraries"
5050
if EnableNativeProjects() then

examples/FreeCAD/FreeCADGen.csproj

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net6.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
<LangVersion>10</LangVersion>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<ProjectReference Include="..\..\src\AST\CppSharp.AST.csproj" />
13+
<ProjectReference Include="..\..\src\Core\CppSharp.csproj" />
14+
<ProjectReference Include="..\..\src\CppParser\Bindings\CSharp\CppSharp.Parser.CSharp.csproj" />
15+
<ProjectReference Include="..\..\src\Generator\CppSharp.Generator.csproj" />
16+
<ProjectReference Include="..\..\src\Parser\CppSharp.Parser.csproj" />
17+
<ProjectReference Include="..\..\src\Runtime\CppSharp.Runtime.csproj" />
18+
</ItemGroup>
19+
20+
</Project>

0 commit comments

Comments
 (0)