-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Okay. Big changes. Reset to bin and obj output. Break down paths a bi…
…t differently. Static/Shared distinction on outputtype for libraries. Static libraries emit no bin output. But do emit Library output. LibraryOutput and ExecutableOutput represent whether a particular thing exists, but may in fact be the same thing. Windows, for instance, outputs a dll and a lib for shared. While linux outputs a .so and no lib for shared. But static on both outputs only a lib.
- Loading branch information
Showing
11 changed files
with
180 additions
and
220 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
#include <hello2.h> | ||
#include <statichello1.h> | ||
#include <stdio.h> | ||
|
||
#include "hello1.h" | ||
|
||
EXPORT void hello1() { | ||
hello2(); | ||
statichello1(); | ||
printf(STRING); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
src/IKVM.Clang.Sdk.Tests/Project/StaticLibrary1/StaticLibrary1.clangproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Project> | ||
<Import Sdk="IKVM.Clang.Sdk" Version="$(PackageVersion)" Project="Sdk.props" /> | ||
<PropertyGroup Label="Globals"> | ||
<ProjectGuid>f511e617-3e18-4dc6-9936-8746f3060663</ProjectGuid> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<OutputType>Static</OutputType> | ||
<TargetIdentifiers>x86_64-pc-windows-msvc;i686-pc-windows-msvc;thumbv7-pc-windows-msvc;aarch64-pc-windows-msvc</TargetIdentifiers> | ||
<Verbose>true</Verbose> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Compile Include="statichello1.c" /> | ||
<Header Include="statichello1.h" /> | ||
</ItemGroup> | ||
<Import Sdk="IKVM.Clang.Sdk" Version="$(PackageVersion)" Project="Sdk.targets" /> | ||
</Project> |
5 changes: 5 additions & 0 deletions
5
src/IKVM.Clang.Sdk.Tests/Project/StaticLibrary1/statichello1.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include "statichello1.h" | ||
|
||
void statichello1() { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
void statichello1(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.