Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorgan Brown <morganbr@users.noreply.github.com>2017-12-05 09:45:38 +0300
committerGitHub <noreply@github.com>2017-12-05 09:45:38 +0300
commit3d25db5b1c010346bbc480a20646c80ea413492f (patch)
treee49e79d7ef6cd6861dd54d6db5262dfce216e695 /dir.props
parentc900f3d03df888df2271cc7e207cdc645ae94aa2 (diff)
Build runtime and libraries for WebAssembly (#4876)
* Fix issues building the runtime, corelib and type loader for WebAssembly * Fix test infrastructure to allow running with the wasm flavor
Diffstat (limited to 'dir.props')
-rw-r--r--dir.props10
1 files changed, 10 insertions, 0 deletions
diff --git a/dir.props b/dir.props
index 00fa26eb7..5c78f0c1e 100644
--- a/dir.props
+++ b/dir.props
@@ -174,6 +174,13 @@
<PackageTargetRuntime>win-corert</PackageTargetRuntime>
</PropertyGroup>
</When>
+ <When Condition="'$(Platform)'=='wasm'">
+ <PropertyGroup>
+ <TargetsUnix>true</TargetsUnix>
+ <TargetsWindows>false</TargetsWindows>
+ <PackageTargetRuntime>unix-corert</PackageTargetRuntime>
+ </PropertyGroup>
+ </When>
<When Condition="'$(OSGroup)'=='Unix'">
<PropertyGroup>
<TargetsUnix>true</TargetsUnix>
@@ -241,6 +248,9 @@
<PropertyGroup Condition="'$(Platform)' == 'arm64'">
<DefineConstants>ARM64;BIT64;$(DefineConstants)</DefineConstants>
</PropertyGroup>
+ <PropertyGroup Condition="'$(Platform)' == 'wasm'">
+ <DefineConstants>WASM;BIT32;PLATFORM_UNIX;$(DefineConstants)</DefineConstants>
+ </PropertyGroup>
<PropertyGroup>
<PrereleaseResolveNuGetPackages>true</PrereleaseResolveNuGetPackages>