[PATCH] D29952: Create msbuild only when using MSVC

Mateusz MikuĊ‚a via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 11:29:35 PST 2017


mati865 created this revision.
Herald added a subscriber: mgorny.

I could be wrong but it seems to have no use for MinGW.

Related diff: https://reviews.llvm.org/D29772


Repository:
  rL LLVM

https://reviews.llvm.org/D29952

Files:
  tools/msbuild/CMakeLists.txt


Index: tools/msbuild/CMakeLists.txt
===================================================================
--- tools/msbuild/CMakeLists.txt
+++ tools/msbuild/CMakeLists.txt
@@ -1,4 +1,4 @@
-if (WIN32)
+if (MSVC)
   # CPack will install a registry key in this format that we wish to reference.
   set(REG_KEY "${CPACK_PACKAGE_INSTALL_REGISTRY_KEY}")
   set(LIB_PATH_VERSION "${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29952.88406.patch
Type: text/x-patch
Size: 417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170214/a64622a6/attachment.bin>


More information about the llvm-commits mailing list