[libcxx-commits] [libcxx] [libcxx] Add `LIBCXX_HAS_TERMINAL_AVAILABLE` CMake option to disable `print` terminal checks (PR #99259)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 5 12:54:10 PDT 2024


================
@@ -297,6 +297,7 @@ option(LIBCXX_HAS_WIN32_THREAD_API "Ignore auto-detection and force use of win32
 option(LIBCXX_HAS_EXTERNAL_THREAD_API
   "Build libc++ with an externalized threading API.
    This option may only be set to ON when LIBCXX_ENABLE_THREADS=ON." OFF)
+option(LIBCXX_HAS_TERMINAL_AVAILABLE "Build libc++ with terminal checking support" ON)
----------------
ldionne wrote:

Let's move this to around line 106 above. Just below `LIBCXX_ENABLE_WIDE_CHARACTERS` & friends.

https://github.com/llvm/llvm-project/pull/99259


More information about the libcxx-commits mailing list