[llvm] r189411 - Add xml files for msbuild integration

Reid Kleckner reid at kleckner.net
Tue Aug 27 16:07:17 PDT 2013


Author: rnk
Date: Tue Aug 27 18:07:17 2013
New Revision: 189411

URL: http://llvm.org/viewvc/llvm-project?rev=189411&view=rev
Log:
Add xml files for msbuild integration

These files are intended to live in the msbuild toolset directory, which
is somewhere like:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\
  v4.0\Platforms\Win32\PlatformToolsets\llvm

More work is needed to install them as part of the NSIS installer.

Patch by Warren Hunt!

Added:
    llvm/trunk/tools/msbuild/
    llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.props
    llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.targets

Added: llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.props
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.props?rev=189411&view=auto
==============================================================================
--- llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.props (added)
+++ llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.props Tue Aug 27 18:07:17 2013
@@ -0,0 +1,10 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">  
+  <PropertyGroup>
+    <VCInstallDir>suppress warning</VCInstallDir>
+    <WindowsSdkDir>suppress warning</WindowsSdkDir>
+	
+    <ClangInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\LLVM\LLVM 3.4.svn)</ClangInstallDir>
+    <ClangInstallDir Condition="'$(ClangInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LLVM\LLVM 3.4.svn)</ClangInstallDir>
+    <ExecutablePath>$(ClangInstallDir)\msbuild-bin;$(ExecutablePath)</ExecutablePath>
+  </PropertyGroup>
+</Project>

Added: llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.targets
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.targets?rev=189411&view=auto
==============================================================================
--- llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.targets (added)
+++ llvm/trunk/tools/msbuild/Microsoft.Cpp.Win32.llvm.targets Tue Aug 27 18:07:17 2013
@@ -0,0 +1,2 @@
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+</Project>





More information about the llvm-commits mailing list