r297998 - Create msbuild only when using MSVC
Reid Kleckner via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 16 14:21:01 PDT 2017
Author: rnk
Date: Thu Mar 16 16:21:00 2017
New Revision: 297998
URL: http://llvm.org/viewvc/llvm-project?rev=297998&view=rev
Log:
Create msbuild only when using MSVC
Patch by: Mateusz Mikula
Reviewers: rnk
Reviewed By: rnk
Subscribers: asl, mgorny, cfe-commits
Tags: #clang-c
Differential Revision: https://reviews.llvm.org/D29772
Modified:
cfe/trunk/tools/driver/CMakeLists.txt
Modified: cfe/trunk/tools/driver/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/CMakeLists.txt?rev=297998&r1=297997&r2=297998&view=diff
==============================================================================
--- cfe/trunk/tools/driver/CMakeLists.txt (original)
+++ cfe/trunk/tools/driver/CMakeLists.txt Thu Mar 16 16:21:00 2017
@@ -61,7 +61,7 @@ add_dependencies(clang clang-headers)
if(NOT CLANG_LINKS_TO_CREATE)
set(CLANG_LINKS_TO_CREATE clang++ clang-cl clang-cpp)
- if (WIN32)
+ if (MSVC)
list(APPEND CLANG_LINKS_TO_CREATE ../msbuild-bin/cl)
endif()
endif()
More information about the cfe-commits
mailing list