fce601132b61ea3684b242118e7a2e891a6da141
[oota-llvm.git] / tools / msbuild / Microsoft.Cpp.Win32.llvm.props.in
1 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">  \r
2   <Import Project="$(VCTargetsPath)\Platforms\$(Platform)\PlatformToolsets\@VS_VERSION@\Microsoft.Cpp.$(Platform).@VS_VERSION@.props"/>\r
3 \r
4   <PropertyGroup>\r
5     <LLVMInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\LLVM\@REG_KEY@)</LLVMInstallDir>\r
6     <LLVMInstallDir Condition="'$(LLVMInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LLVM\@REG_KEY@)</LLVMInstallDir>\r
7     <ExecutablePath>$(LLVMInstallDir)\msbuild-bin;$(ExecutablePath)</ExecutablePath>\r
8     <LibraryPath>$(LLVMInstallDir)\lib\clang\3.4\lib\windows;$(LibraryPath)</LibraryPath>\r
9   </PropertyGroup>\r
10 \r
11   <ItemDefinitionGroup>\r
12     <ClCompile>\r
13       <!-- Set the value of _MSC_VER to claim for compatibility -->\r
14       <AdditionalOptions>-fmsc-version=@MSC_VERSION@ %(AdditionalOptions)</AdditionalOptions>\r
15     </ClCompile>\r
16   </ItemDefinitionGroup>\r
17 </Project>\r