Skip to content

Commit

Permalink
Add Compile metadata at the end so it doesn't get overwritten.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed May 3, 2024
1 parent 11754cd commit 35320ba
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/IKVM.Clang.Sdk/targets/IKVM.Clang.Core.targets
Original file line number Diff line number Diff line change
Expand Up @@ -334,57 +334,57 @@
<_Args Include="-x;$(_Language)" Condition=" '$(_Language)' != '' " />

<_SystemRootDirectories Remove="@(_SystemRootDirectories)" />
<_SystemRootDirectories Include="%(Compile.SystemRootDirectories)" />
<_SystemRootDirectories Include="@(SystemRootDirectories)" />
<_SystemRootDirectories Include="$(SystemRootDirectories)" />
<_SystemRootDirectories Include="%(Compile.SystemRootDirectories)" />
<_SystemRootDirectoriesTemp Remove="@(_SystemRootDirectoriesTemp)" />
<_SystemRootDirectoriesTemp Include="@(_SystemRootDirectories->Distinct())" />
<_SystemRootDirectoriesArgs Remove="@(_SystemRootDirectoriesArgs)" />
<_SystemRootDirectoriesArgs Include="@(_SystemRootDirectoriesTemp->'--sysroot')" Value="%(_SystemRootDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_SystemRootDirectoriesArgs)" />

<_IncludeSystemRootDirectories Remove="@(_IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectories Include="%(Compile.IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectories Include="@(IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectories Include="$(IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectories Include="%(Compile.IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectoriesTemp Remove="@(_IncludeSystemRootDirectoriesTemp)" />
<_IncludeSystemRootDirectoriesTemp Include="@(_IncludeSystemRootDirectories->Distinct())" />
<_IncludeSystemRootDirectoriesArgs Remove="@(_IncludeSystemRootDirectoriesArgs)" />
<_IncludeSystemRootDirectoriesArgs Include="@(_IncludeSystemRootDirectoriesTemp->'-isysroot')" Value="%(_IncludeSystemRootDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_IncludeSystemRootDirectoriesArgs)" />

<_SystemIncludeDirectories Remove="@(_SystemIncludeDirectories)" />
<_SystemIncludeDirectories Include="%(Compile.SystemIncludeDirectories)" />
<_SystemIncludeDirectories Include="@(SystemIncludeDirectories)" />
<_SystemIncludeDirectories Include="$(SystemIncludeDirectories)" />
<_SystemIncludeDirectories Include="%(Compile.SystemIncludeDirectories)" />
<_SystemIncludeDirectoriesTemp Remove="@(_SystemIncludeDirectoriesTemp)" />
<_SystemIncludeDirectoriesTemp Include="@(_SystemIncludeDirectories->Distinct())" />
<_SystemIncludeDirectoriesArgs Remove="@(_SystemIncludeDirectoriesArgs)" />
<_SystemIncludeDirectoriesArgs Include="@(_SystemIncludeDirectoriesTemp->'-isystem')" Value="%(_SystemIncludeDirectoriesTemp.Identity)" Separator=" " />
<_Args Include="@(_SystemIncludeDirectoriesArgs)" />

<_IncludeDirectories Remove="@(_IncludeDirectories)" />
<_IncludeDirectories Include="%(Compile.IncludeDirectories)" />
<_IncludeDirectories Include="@(IncludeDirectories)" />
<_IncludeDirectories Include="$(IncludeDirectories)" />
<_IncludeDirectories Include="%(Compile.IncludeDirectories)" />
<_IncludeDirectoriesTemp Remove="@(_IncludeDirectoriesTemp)" />
<_IncludeDirectoriesTemp Include="@(_IncludeDirectories->Distinct())" />
<_IncludeDirectoriesArgs Remove="@(_IncludeDirectoriesArgs)" />
<_IncludeDirectoriesArgs Include="@(_IncludeDirectoriesTemp->'-I')" Value="%(_IncludeDirectoriesTemp.Identity)" Separator="" />
<_Args Include="@(_IncludeDirectoriesArgs)" />

<_PreprocessorDefinitions Remove="@(_PreprocessorDefinitions)" />
<_PreprocessorDefinitions Include="%(Compile.PreprocessorDefinitions)" />
<_PreprocessorDefinitions Include="@(PreprocessorDefinitions)" />
<_PreprocessorDefinitions Include="$(PreprocessorDefinitions)" />
<_PreprocessorDefinitions Include="%(Compile.PreprocessorDefinitions)" />
<_PreprocessorDefinitionsArgs Remove="@(_PreprocessorDefinitionsArgs)" />
<_PreprocessorDefinitionsArgs Include="@(_PreprocessorDefinitions->'-D')" Value="%(_PreprocessorDefinitions.Identity)" Separator="" Value2="%(_PreprocessorDefinitions.Value)" Separator2="=" />
<_Args Include="@(_PreprocessorDefinitionsArgs)" />

<_AdditionalOptions Remove="@(_AdditionalOptions)" />
<_AdditionalOptions Include="%(Compile.AdditionalCompileOptions)" />
<_AdditionalOptions Include="@(AdditionalCompileOptions)" />
<_AdditionalOptions Include="$(AdditionalCompileOptions)" />
<_AdditionalOptions Include="%(Compile.AdditionalCompileOptions)" />
<_Args Include="@(_AdditionalOptions)" />

<_Args Include="$(_SourcePath)" />
Expand Down Expand Up @@ -431,7 +431,6 @@
<_Args Include="-Wl,/subsystem:$(Subsystem)" Condition=" '$(Subsystem)' != '' " />

<_SystemRootDirectories Remove="@(_SystemRootDirectories)" />
<_SystemRootDirectories Include="%(Compile.SystemRootDirectories)" />
<_SystemRootDirectories Include="@(SystemRootDirectories)" />
<_SystemRootDirectories Include="$(SystemRootDirectories)" />
<_SystemRootDirectoriesTemp Remove="@(_SystemRootDirectoriesTemp)" />
Expand All @@ -441,7 +440,6 @@
<_Args Include="@(_SystemRootDirectoriesArgs)" />

<_IncludeSystemRootDirectories Remove="@(_IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectories Include="%(Compile.IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectories Include="@(IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectories Include="$(IncludeSystemRootDirectories)" />
<_IncludeSystemRootDirectoriesTemp Remove="@(_IncludeSystemRootDirectoriesTemp)" />
Expand Down

0 comments on commit 35320ba

Please sign in to comment.