|
|
|
@ -141,15 +141,15 @@
|
|
|
|
|
|
|
|
|
|
<Target Name="CompileNativeClang_UWP" Inputs="@(XenkoNativeCFile);@(XenkoNativeHFile)" Outputs="@(XenkoNativeOutput)" Condition="'$(XenkoPlatform)' == 'UWP' And $(DesignTimeBuild) != true And $(BuildingProject) != false" BeforeTargets="CoreCompile" DependsOnTargets="_XenkoRegisterNativeOutputs">
|
|
|
|
|
<MakeDir Directories="$(OutputObjectPath)\x86"/>
|
|
|
|
|
<Exec Command=""$(XenkoDependenciesDir)\LLVM\clang-cl.exe" $(XenkoNativeClang) -o "$(OutputObjectPath)\x86\%(XenkoNativeCFile.Filename).obj" -c "%(XenkoNativeCFile.FullPath)" -WX -EHsc -GS- -MD -DUWP -m32" />
|
|
|
|
|
<Exec Command=""$(XenkoDependenciesDir)\LLVM\clang-cl.exe" $(XenkoNativeClang) -o "$(OutputObjectPath)\x86\%(XenkoNativeCFile.Filename).obj" -c "%(XenkoNativeCFile.FullPath)" -WX -GS- -MD -DUWP -m32" />
|
|
|
|
|
<MSBuild Projects="$(MSBuildThisFileDirectory)\WindowsProjects\UWP\UWP.vcxproj" Targets="Build" Properties="XenkoNativeOutputName=$(XenkoNativeOutputName);XenkoNativeOutputDir=$(XenkoNativeOutputPath)\x86;XenkoDependenciesDir=$(XenkoDependenciesDir);XenkoNativePathLibs=libNativePath.lib $(XenkoNativePathLibs);XenkoNativeProjectFolder=$(ProjectDir);XenkoNativeProjectObjFolder=$(OutputObjectPath)\x86;Configuration=$(Configuration);Platform=x86" StopOnFirstFailure="true" />
|
|
|
|
|
|
|
|
|
|
<MakeDir Directories="$(OutputObjectPath)\x64"/>
|
|
|
|
|
<Exec Command=""$(XenkoDependenciesDir)\LLVM\clang-cl.exe" $(XenkoNativeClang) -o "$(OutputObjectPath)\x64\%(XenkoNativeCFile.Filename).obj" -c "%(XenkoNativeCFile.FullPath)" -WX -EHsc -GS- -MD -DUWP -m64" />
|
|
|
|
|
<Exec Command=""$(XenkoDependenciesDir)\LLVM\clang-cl.exe" $(XenkoNativeClang) -o "$(OutputObjectPath)\x64\%(XenkoNativeCFile.Filename).obj" -c "%(XenkoNativeCFile.FullPath)" -WX -GS- -MD -DUWP -m64" />
|
|
|
|
|
<MSBuild Projects="$(MSBuildThisFileDirectory)\WindowsProjects\UWP\UWP.vcxproj" Targets="Build" Properties="XenkoNativeOutputName=$(XenkoNativeOutputName);XenkoNativeOutputDir=$(XenkoNativeOutputPath)\x64;XenkoDependenciesDir=$(XenkoDependenciesDir);XenkoNativePathLibs=libNativePath.lib $(XenkoNativePathLibs);XenkoNativeProjectFolder=$(ProjectDir);XenkoNativeProjectObjFolder=$(OutputObjectPath)\x64;Configuration=$(Configuration);Platform=x64" StopOnFirstFailure="true" />
|
|
|
|
|
|
|
|
|
|
<MakeDir Directories="$(OutputObjectPath)\ARM"/>
|
|
|
|
|
<Exec Command=""$(XenkoDependenciesDir)\LLVM\clang-cl.exe" $(XenkoNativeClang) -o "$(OutputObjectPath)\ARM\%(XenkoNativeCFile.Filename).obj" -c "%(XenkoNativeCFile.FullPath)" -WX -EHsc -GS- -MD -DUWP -m32 --target=thumbv7-windows-msvc" />
|
|
|
|
|
<Exec Command=""$(XenkoDependenciesDir)\LLVM\clang-cl.exe" $(XenkoNativeClang) -o "$(OutputObjectPath)\ARM\%(XenkoNativeCFile.Filename).obj" -c "%(XenkoNativeCFile.FullPath)" -WX -GS- -MD -DUWP -m32 --target=thumbv7-windows-msvc" />
|
|
|
|
|
<MSBuild Projects="$(MSBuildThisFileDirectory)\WindowsProjects\UWP\UWP.vcxproj" Targets="Build" Properties="XenkoNativeOutputName=$(XenkoNativeOutputName);XenkoNativeOutputDir=$(XenkoNativeOutputPath)\ARM;XenkoDependenciesDir=$(XenkoDependenciesDir);XenkoNativePathLibs=libNativePath.lib $(XenkoNativePathLibs);XenkoNativeProjectFolder=$(ProjectDir);XenkoNativeProjectObjFolder=$(OutputObjectPath)\ARM;Configuration=$(Configuration);Platform=ARM" StopOnFirstFailure="true" />
|
|
|
|
|
|
|
|
|
|
<!-- Workaround: forcing C# rebuild so that timestamp are up to date (ideally we should have separate input/output groups for C# and Native) -->
|
|
|
|
|