[all-commits] [llvm/llvm-project] 7a7c75: libclang: Make shared object symbol exporting by d...

Cristian Adam via All-commits all-commits at lists.llvm.org
Thu Feb 20 11:26:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a7c753b0cca6abb61f054842fb087dfc30dc563
      https://github.com/llvm/llvm-project/commit/7a7c753b0cca6abb61f054842fb087dfc30dc563
  Author: Cristian Adam <cristian.adam at gmail.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M clang/include/clang-c/Platform.h
    M clang/tools/libclang/CMakeLists.txt

  Log Message:
  -----------
  libclang: Make shared object symbol exporting by default

https://reviews.llvm.org/D74564 enabled static building for libclang,
and for non CMake consumers they had to set the `CMAKE_EXPORTS` define
when consuming libclang.

This commit makes the non CMake users of the static building have to define `CMAKE_NO_EXPORTS`.

Differential Revision: https://reviews.llvm.org/D74907




More information about the All-commits mailing list