[PATCH] D74564: libclang: Add static build support for Windows

Nico Weber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 19 18:05:40 PST 2020


thakis added inline comments.


================
Comment at: clang/tools/libclang/CMakeLists.txt:117
 if(ENABLE_SHARED)
+  target_compile_definitions(libclang PUBLIC CINDEX_EXPORTS)
   if(WIN32)
----------------
Is this enough? Every target that depends on libclang now needs to define CINDEX_EXPORTS – is that already the case?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74564/new/

https://reviews.llvm.org/D74564





More information about the cfe-commits mailing list