diff options
author | Morgan Brown <morganbr@users.noreply.github.com> | 2017-12-05 09:45:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-05 09:45:38 +0300 |
commit | 3d25db5b1c010346bbc480a20646c80ea413492f (patch) | |
tree | e49e79d7ef6cd6861dd54d6db5262dfce216e695 /dir.props | |
parent | c900f3d03df888df2271cc7e207cdc645ae94aa2 (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.props | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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> |