aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/Directory.Build.props
blob: 0effb2d8be58f782e0f3c0a4e4ec7469398e276b (plain)
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
50
51
52
53
<Project>
	<PropertyGroup>
		<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
		<!--<TargetFrameworks>net5</TargetFrameworks>-->
		<OutputType>Exe</OutputType>

		<SolutionDir>$(MSBuildThisFileDirectory)..\</SolutionDir>
		<OutputPath>$(SolutionDir)build\$(Configuration)\</OutputPath>

		<!--<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>-->

		<License>MIT</License>
		<Authors>Jean-Philippe Bruyère</Authors>

		<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
		<SamplesDir>$(MSBuildThisFileDirectory)\</SamplesDir>
		<AppConfig>$(SolutionDir)Crow\App.config</AppConfig>
	</PropertyGroup>

	<ItemGroup>
		<ProjectReference Include="$(SolutionDir)Crow\Crow.csproj" />
	</ItemGroup>
	<ItemGroup>
	  <ProjectReference Include="$(SolutionDir)Drawing2D\Drawing2D.csproj" />
	  <!--<ProjectReference Include="$(SolutionDir)Backends\SkiaBackend\Crow.SkiaBackend.csproj" />-->
	  <ProjectReference Include="$(SolutionDir)Backends\Crow.CairoBackend\Crow.CairoBackend.csproj" />
	  <!--<ProjectReference Include="$(SolutionDir)Backends\VkvgBackend\Crow.VkvgBackend.csproj" />-->
	</ItemGroup>
	<ItemGroup>
		<None Include="$(SamplesDir)common\ui\Interfaces\**\*.*">
			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
			<Link>Interfaces\%(RecursiveDir)%(Filename)%(Extension)</Link>
		</None>
		<EmbeddedResource Include="$(SamplesDir)common\ui\templates\**\*.*">
			<LogicalName>ui.%(Filename)%(Extension)</LogicalName>
			<Link>Templates\%(Filename)%(Extension)</Link>
		</EmbeddedResource>
		<EmbeddedResource Include="$(SamplesDir)common\ui\images\**\*.*">
			<LogicalName>images.%(Filename)%(Extension)</LogicalName>
			<Link>Images\%(Filename)%(Extension)</Link>
		</EmbeddedResource>
		<EmbeddedResource Include="$(SamplesDir)common\ui\icons\*.*">
			<LogicalName>Icons.%(Filename)%(Extension)</LogicalName>
			<Link>Icons\%(Filename)%(Extension)</Link>
		</EmbeddedResource>
		<EmbeddedResource Include="$(SamplesDir)common\samples.style" >
			<Link>common\%(Filename)%(Extension)</Link>
		</EmbeddedResource>
		<Compile Include="$(SamplesDir)common\src\**\*.cs">
			<Link>common\%(Filename)%(Extension)</Link>
		</Compile>
	</ItemGroup>
</Project>