Substitute LLVM's version into the msbuild property file at config time
[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\v100\Microsoft.Cpp.$(Platform).v100.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   </PropertyGroup>\r
9 </Project>\r