[libcxx-commits] [libcxx] r358608 - [libc++][CMake] Allow building neither the shared nor the static library
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 17 12:47:27 PDT 2019
Author: ldionne
Date: Wed Apr 17 12:47:27 2019
New Revision: 358608
URL: http://llvm.org/viewvc/llvm-project?rev=358608&view=rev
Log:
[libc++][CMake] Allow building neither the shared nor the static library
It's possible to build just the headers, and we actually do it.
Modified:
libcxx/trunk/CMakeLists.txt
Modified: libcxx/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=358608&r1=358607&r2=358608&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Wed Apr 17 12:47:27 2019
@@ -129,10 +129,6 @@ option(LIBCXX_USE_COMPILER_RT "Use compi
set(LIBCXX_LIBCPPABI_VERSION "2" CACHE STRING "Version of libc++abi's ABI to re-export from libc++ when re-exporting is enabled.
Note that this is not related to the version of libc++'s ABI itself!")
-if (NOT LIBCXX_ENABLE_SHARED AND NOT LIBCXX_ENABLE_STATIC)
- message(FATAL_ERROR "libc++ must be built as either a shared or static library.")
-endif()
-
# ABI Library options ---------------------------------------------------------
set(LIBCXX_CXX_ABI "default" CACHE STRING
"Specify C++ ABI library to use.")
More information about the libcxx-commits
mailing list