[clang] bb61304 - [MinGW][clang-shlib] Build by default on MinGW
Martin Storsjö via cfe-commits
cfe-commits at lists.llvm.org
Sat Sep 12 12:05:44 PDT 2020
Author: Mateusz Mikuła
Date: 2020-09-12T22:02:31+03:00
New Revision: bb613044b6800b8ccc238232677f905bda423819
URL: https://github.com/llvm/llvm-project/commit/bb613044b6800b8ccc238232677f905bda423819
DIFF: https://github.com/llvm/llvm-project/commit/bb613044b6800b8ccc238232677f905bda423819.diff
LOG: [MinGW][clang-shlib] Build by default on MinGW
It builds without errors and makes possible to use
CLANG_LINK_CLANG_DYLIB=1.
Differential Revision: https://reviews.llvm.org/D87547
Added:
Modified:
clang/tools/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/tools/CMakeLists.txt b/clang/tools/CMakeLists.txt
index e46c3669a2c2..85a85812a8d4 100644
--- a/clang/tools/CMakeLists.txt
+++ b/clang/tools/CMakeLists.txt
@@ -15,7 +15,7 @@ add_clang_subdirectory(c-index-test)
add_clang_subdirectory(clang-rename)
add_clang_subdirectory(clang-refactor)
-if(UNIX)
+if(UNIX OR MINGW)
add_clang_subdirectory(clang-shlib)
endif()
More information about the cfe-commits
mailing list