]> granicus.if.org Git - clang/commit
[CMake] Clang: Don't use object libraries with Xcode
authorJordan Rose <jordan_rose@apple.com>
Fri, 4 Oct 2019 18:17:58 +0000 (18:17 +0000)
committerJordan Rose <jordan_rose@apple.com>
Fri, 4 Oct 2019 18:17:58 +0000 (18:17 +0000)
commitf90bb31d28b576641ed53a66d16fcd602ed4668f
treedca773bb203abd6a8da7f388dbaa698b774ed57f
parentb0800c8e417f3957ab46aa0559f28cac1829a5cc
[CMake] Clang: Don't use object libraries with Xcode

Undoes some of the effects of r360946 when using the Xcode CMake
generator---it doesn't handle object libraries correctly at all.
Attempts to still honor BUILD_SHARED_LIBS for Xcode, but I didn't
actually test it. Should have no effect on non-Xcode generators.

https://reviews.llvm.org/D68430

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@373769 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/AddClang.cmake
tools/clang-shlib/CMakeLists.txt