This repository has been archived by the owner on Dec 16, 2023. It is now read-only.
forked from flecs-hub/flecs-cs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflecs.props
49 lines (44 loc) · 1.96 KB
/
flecs.props
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
46
47
48
49
<Project>
<PropertyGroup>
<_LibraryName>flecs</_LibraryName>
<_GitDirectoryPath>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), .gitignore))/</_GitDirectoryPath>
<_LibraryDirectoryPath>$(_GitDirectoryPath)/lib</_LibraryDirectoryPath>
<_SourceCodeDirectoryPath>$(_GitDirectoryPath)/src/cs/production/$(_LibraryName)/</_SourceCodeDirectoryPath>
<_LinkDirectoryPath>$(_LibraryName)/</_LinkDirectoryPath>
<_IsEnabledSourceCode Condition=" '$(_IsEnabledSourceCode)' == '' ">true</_IsEnabledSourceCode>
</PropertyGroup>
<!-- C# source code-->
<ItemGroup Condition=" '$(_IsEnabledSourceCode)' == 'true' ">
<Compile Include="$(_SourceCodeDirectoryPath)/**/*.cs" >
<Pack>false</Pack>
<Link>$(_LinkDirectoryPath)/%(RecursiveDir)%(Filename)%(Extension)</Link>
</Compile>
<Compile Remove="$(_SourceCodeDirectoryPath)/obj/**/*.cs" />
<Compile Remove="$(_SourceCodeDirectoryPath)/bin/**/*.cs" />
</ItemGroup>
<!-- Implicit global usings-->
<ItemGroup Condition=" '$(ImplicitUsings)' == 'true' ">
<Using Include="System.Runtime.InteropServices" />
<Using Include="flecs_hub" />
<Using Include="flecs_hub.flecs" Static="true" />
<Using Include="flecs_hub.flecs.Runtime" Static="true" />
</ItemGroup>
<!-- Dynamic link libraries -->
<ItemGroup>
<Content Include="$(_LibraryDirectoryPath)/*.dll">
<Link>%(Filename)%(Extension)</Link>
<Pack>false</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(_LibraryDirectoryPath)/*.dylib">
<Link>%(Filename)%(Extension)</Link>
<Pack>false</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="$(_LibraryDirectoryPath)/*.so">
<Link>%(Filename)%(Extension)</Link>
<Pack>false</Pack>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>