Skip to content

Commit da8ebb4

Browse files
committed
New multi-target project (wip)
1 parent e2ba660 commit da8ebb4

File tree

2 files changed

+141
-0
lines changed

2 files changed

+141
-0
lines changed

Source/Silver.elements

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
2+
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
3+
<PropertyGroup>
4+
<ProjectGuid>{9E7A4B59-8176-4CAE-B966-7E299171B148}</ProjectGuid>
5+
<OutputType>StaticLibrary</OutputType>
6+
<RootNamespace>Swift</RootNamespace>
7+
<Configuration Condition="'$(Configuration)' == ''">Release</Configuration>
8+
<NoSwift>True</NoSwift>
9+
<CrossPlatform>True</CrossPlatform>
10+
<MangleTypeNames>True</MangleTypeNames>
11+
<CreateHeaderFile>True</CreateHeaderFile>
12+
<GenerateDebugInfo>True</GenerateDebugInfo>
13+
</PropertyGroup>
14+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
15+
<OutputPath>.\Bin\Debug</OutputPath>
16+
<EnableAsserts>True</EnableAsserts>
17+
<Optimize>False</Optimize>
18+
<GenerateDebugInfo>True</GenerateDebugInfo>
19+
<ConditionalDefines>DEBUG;TRACE;</ConditionalDefines>
20+
</PropertyGroup>
21+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
22+
<OutputPath>.\Bin\Release</OutputPath>
23+
</PropertyGroup>
24+
<PropertyGroup Condition=" '$(Target)' == 'Echoes.Full' ">
25+
<Mode>Echoes</Mode>
26+
<TargetFramework>.NETFramework4.0</TargetFramework>
27+
<OutputType>Library</OutputType>
28+
<DefaultUses>System.Collections.Generic;System.Linq</DefaultUses>
29+
</PropertyGroup>
30+
<PropertyGroup Condition=" '$(Target)' == 'Echoes.Standard' ">
31+
<Mode>Echoes</Mode>
32+
<TargetFramework>.NETStandard2.0</TargetFramework>
33+
<ConditionalDefines>NETSTANDARD</ConditionalDefines>
34+
<OutputType>Library</OutputType>
35+
<DefaultUses>System.Collections.Generic;System.Linq</DefaultUses>
36+
</PropertyGroup>
37+
<PropertyGroup Condition=" '$(Target)' == 'Cooper' ">
38+
<Mode>Cooper</Mode>
39+
<SubMode>Java</SubMode>
40+
<OutputType>Library</OutputType>
41+
<DefaultUses>java.util,remobjects.elements.linq</DefaultUses>
42+
</PropertyGroup>
43+
<PropertyGroup Condition=" '$(Target)' == 'Island.Windows' ">
44+
<Mode>Island</Mode>
45+
<SubMode>Windows</SubMode>
46+
</PropertyGroup>
47+
<PropertyGroup Condition=" '$(Target)' == 'Island.Linux' ">
48+
<Mode>Island</Mode>
49+
<SubMode>Linux</SubMode>
50+
</PropertyGroup>
51+
<PropertyGroup Condition=" '$(Target)' == 'Island.Darwin.macOS' ">
52+
<Mode>Island</Mode>
53+
<SubMode>Darwin</SubMode>
54+
<SDK>macOS</SDK>
55+
<DefaultUses>Foundation;RemObjects.Elements.System;rtl</DefaultUses>
56+
</PropertyGroup>
57+
<PropertyGroup Condition=" '$(Target)' == 'Island.Darwin.iOS' ">
58+
<Mode>Island</Mode>
59+
<SubMode>Darwin</SubMode>
60+
<SDK>iOS</SDK>
61+
<SupportMacCatalyst>True</SupportMacCatalyst>
62+
<DefaultUses>Foundation;RemObjects.Elements.System;rtl</DefaultUses>
63+
</PropertyGroup>
64+
<PropertyGroup Condition=" '$(Target)' == 'Island.Darwin.tvOS' ">
65+
<Mode>Island</Mode>
66+
<SubMode>Darwin</SubMode>
67+
<SDK>tvOS</SDK>
68+
<DefaultUses>Foundation;RemObjects.Elements.System;rtl</DefaultUses>
69+
</PropertyGroup>
70+
<PropertyGroup Condition=" '$(Target)' == 'Island.Darwin.watchOS' ">
71+
<Mode>Island</Mode>
72+
<SubMode>Darwin</SubMode>
73+
<SDK>watchOS</SDK>
74+
<DefaultUses>Foundation;RemObjects.Elements.System;rtl</DefaultUses>
75+
</PropertyGroup>
76+
<PropertyGroup Condition=" '$(Target)' == 'Island.Android' ">
77+
<Mode>Island</Mode>
78+
<SubMode>Android</SubMode>
79+
</PropertyGroup>
80+
<PropertyGroup Condition=" '$(Target)' == 'Island.WebAssembly' ">
81+
<Mode>Island</Mode>
82+
<SubMode>WebAssembly</SubMode>
83+
</PropertyGroup>
84+
<PropertyGroup Condition=" '$(Target)' == 'Toffee.iOS' ">
85+
<Mode>Toffee</Mode>
86+
<SDK>iOS</SDK>
87+
<SupportMacCatalyst>True</SupportMacCatalyst>
88+
<DefaultUses>Foundation;RemObjects.Elements.Linq</DefaultUses>
89+
</PropertyGroup>
90+
<PropertyGroup Condition=" '$(Target)' == 'Toffee.macOS' ">
91+
<Mode>Toffee</Mode>
92+
<SDK>macOS</SDK>
93+
<DefaultUses>Foundation;RemObjects.Elements.Linq</DefaultUses>
94+
</PropertyGroup>
95+
<PropertyGroup Condition=" '$(Target)' == 'Toffee.tvOS' ">
96+
<Mode>Toffee</Mode>
97+
<SDK>tvOS</SDK>
98+
<DefaultUses>Foundation;RemObjects.Elements.Linq</DefaultUses>
99+
</PropertyGroup>
100+
<PropertyGroup Condition=" '$(Target)' == 'Toffee.watchOS' ">
101+
<Mode>Toffee</Mode>
102+
<SDK>watchOS</SDK>
103+
<DefaultUses>Foundation;RemObjects.Elements.Linq</DefaultUses>
104+
</PropertyGroup>
105+
<ItemGroup>
106+
<Reference Include="#" />
107+
</ItemGroup>
108+
<ItemGroup Condition="'$(Target)' == 'Echoes.Full'">
109+
<Compile Include="__AssemblyInfo.swift" />
110+
</ItemGroup>
111+
<ItemGroup Condition="'$(Target)' == 'Echoes.Standard'">
112+
<Compile Include="__AssemblyInfo.swift" />
113+
<Reference Include="Echoes">
114+
<Private>True</Private>
115+
</Reference>
116+
</ItemGroup>
117+
<Import Project="$(MSBuildExtensionsPath)\RemObjects Software\Elements\RemObjects.Elements.targets" />
118+
<Import Project="Swift.Shared.projitems" Label="Shared" />
119+
</Project>

Source/Silver.sln

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# RemObjects Fire
4+
Project("{656346D9-4656-40DA-A068-22D5425D4639}") = "Silver", "Silver.elements", "{9E7A4B59-8176-4CAE-B966-7E299171B148}"
5+
EndProject
6+
Project("{656346D9-4656-40DA-A068-22D5425D4639}") = "Swift.Shared", "Swift.Shared.elements", "{7952073B-795C-4074-954D-212FE780D7D3}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|AnyCPU = Debug|AnyCPU
11+
Release|AnyCPU = Release|AnyCPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{9E7A4B59-8176-4CAE-B966-7E299171B148}.Debug|AnyCPU.ActiveCfg = Debug|AnyCPU
15+
{9E7A4B59-8176-4CAE-B966-7E299171B148}.Debug|AnyCPU.Build.0 = Debug|AnyCPU
16+
{9E7A4B59-8176-4CAE-B966-7E299171B148}.Release|AnyCPU.ActiveCfg = Release|AnyCPU
17+
{9E7A4B59-8176-4CAE-B966-7E299171B148}.Release|AnyCPU.Build.0 = Release|AnyCPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
EndGlobal

0 commit comments

Comments
 (0)