xref: /aosp_15_r20/external/llvm/tools/msbuild/Microsoft.Cpp.Win32.llvm.props.in (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2*9880d681SAndroid Build Coastguard Worker  <Import Project="$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\@VS_VERSION@\Microsoft.Cpp.$(Platform).@[email protected]" Condition="Exists('$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\@VS_VERSION@\Microsoft.Cpp.$(Platform).@[email protected]')"/>
3*9880d681SAndroid Build Coastguard Worker  <Import Project="$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\@VS_VERSION@\Toolset.props" Condition="Exists('$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\@VS_VERSION@\Toolset.props')"/>
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker  <PropertyGroup>
6*9880d681SAndroid Build Coastguard Worker    <LLVMInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\LLVM\@REG_KEY@)</LLVMInstallDir>
7*9880d681SAndroid Build Coastguard Worker    <LLVMInstallDir Condition="'$(LLVMInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LLVM\@REG_KEY@)</LLVMInstallDir>
8*9880d681SAndroid Build Coastguard Worker    <ExecutablePath>$(LLVMInstallDir)\msbuild-bin;$(ExecutablePath)</ExecutablePath>
9*9880d681SAndroid Build Coastguard Worker    <LibraryPath>$(LLVMInstallDir)\lib\clang\@LIB_PATH_VERSION@\lib\windows;$(LibraryPath)</LibraryPath>
10*9880d681SAndroid Build Coastguard Worker  </PropertyGroup>
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker  <ItemDefinitionGroup>
13*9880d681SAndroid Build Coastguard Worker    <ClCompile>
14*9880d681SAndroid Build Coastguard Worker      <!-- Set the value of _MSC_VER to claim for compatibility -->
15*9880d681SAndroid Build Coastguard Worker      <AdditionalOptions>-@mflag@ -fmsc-version=@MSC_VERSION@ %(AdditionalOptions)</AdditionalOptions>
16*9880d681SAndroid Build Coastguard Worker    </ClCompile>
17*9880d681SAndroid Build Coastguard Worker  </ItemDefinitionGroup>
18*9880d681SAndroid Build Coastguard Worker</Project>
19