Skip to content

Commit

Permalink
Add an empty libawt for binding.
Browse files Browse the repository at this point in the history
MSBuild.Tasks.Tests ignore duplicates.
  • Loading branch information
wasabii committed Sep 2, 2023
1 parent 8bac907 commit 3d9d0e5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions IKVM.sln
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IKVM.Image.runtime.win7-x64
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IKVM.Image.runtime.win7-x86", "src\IKVM.Image.runtime.win7-x86\IKVM.Image.runtime.win7-x86.csproj", "{9932A047-DCBC-4649-8EA0-8F14996C8C28}"
EndProject
Project("{6DE1C62B-E8D7-451A-8734-87EAEB46E35B}") = "libawt", "src\libawt\libawt.clangproj", "{93B43F23-23B1-4968-951E-DC9A447D6F0E}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -778,6 +780,10 @@ Global
{9932A047-DCBC-4649-8EA0-8F14996C8C28}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9932A047-DCBC-4649-8EA0-8F14996C8C28}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9932A047-DCBC-4649-8EA0-8F14996C8C28}.Release|Any CPU.Build.0 = Release|Any CPU
{93B43F23-23B1-4968-951E-DC9A447D6F0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{93B43F23-23B1-4968-951E-DC9A447D6F0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{93B43F23-23B1-4968-951E-DC9A447D6F0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{93B43F23-23B1-4968-951E-DC9A447D6F0E}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
1 change: 1 addition & 0 deletions src/IKVM.Image-bin/IKVM.Image-bin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libunpack\libunpack.clangproj" />
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libsunec\libsunec.clangproj" />
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libsunmscapi\libsunmscapi.clangproj" SupportedRuntimes="win7-x64;win7-x86;win10-arm64" />
<_ReferencedClangProjects Include="$(MSBuildThisFileDirectory)..\libawt\libawt.clangproj" />
</ItemGroup>

<Target Name="GetClangProjectReferencesByRuntime" Inputs="@(_ReferencedClangProjects)" Outputs="%(_ReferencedClangProjects.Identity)\null" BeforeTargets="AssignClangProjectConfiguration">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFrameworks>net472;net6.0;net7.0</TargetFrameworks>
<PreserveCompilationContext>true</PreserveCompilationContext>
<ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
</PropertyGroup>

<ItemGroup>
Expand Down
Empty file added src/libawt/awt.c
Empty file.
16 changes: 16 additions & 0 deletions src/libawt/libawt.clangproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project>
<Import Sdk="IKVM.Clang.Sdk" Project="Sdk.props" />
<Import Project="$(MSBuildThisFileDirectory)..\..\targets\openjdk.lib.props" />
<PropertyGroup Label="Globals">
<ProjectGuid>93b43f23-23b1-4968-951e-dc9a447d6f0e</ProjectGuid>
</PropertyGroup>
<PropertyGroup>
<TargetName>awt</TargetName>
<LanguageStandard>c99</LanguageStandard>
</PropertyGroup>
<Import Sdk="IKVM.Clang.Sdk" Project="Sdk.targets" />
<Import Project="$(MSBuildThisFileDirectory)..\..\targets\openjdk.lib.targets" />
<ItemGroup>
<Compile Include="awt.c" />
</ItemGroup>
</Project>

0 comments on commit 3d9d0e5

Please sign in to comment.