diff options
| author | Louis Dionne <ldionne@apple.com> | 2019-10-04 18:03:17 +0000 |
|---|---|---|
| committer | Louis Dionne <ldionne@apple.com> | 2019-10-04 18:03:17 +0000 |
| commit | 432ae75f8bb2d1e13e71ddd347fa356d87459e58 (patch) | |
| tree | bcf17cf080c4b118397782477ce7d3a82706b04e /libcxx/src | |
| parent | 87aa59a0c7150bd6aff1de6959ec55eab28102ef (diff) | |
| download | bcm5719-llvm-432ae75f8bb2d1e13e71ddd347fa356d87459e58.tar.gz bcm5719-llvm-432ae75f8bb2d1e13e71ddd347fa356d87459e58.zip | |
[libc++] Move more CMake flags to per-target definitions
This daily refactoring tackles flags related to modules,
exceptions and RTTI.
llvm-svn: 373767
Diffstat (limited to 'libcxx/src')
| -rw-r--r-- | libcxx/src/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcxx/src/CMakeLists.txt b/libcxx/src/CMakeLists.txt index 93d48f1b7dc..d0a510861a1 100644 --- a/libcxx/src/CMakeLists.txt +++ b/libcxx/src/CMakeLists.txt @@ -235,6 +235,9 @@ if (LIBCXX_ENABLE_SHARED) cxx_add_warning_flags(cxx_shared) cxx_add_windows_flags(cxx_shared) cxx_add_config_site(cxx_shared) + cxx_add_exception_flags(cxx_shared) + cxx_add_rtti_flags(cxx_shared) + cxx_add_module_flags(cxx_shared) # Link against LLVM libunwind if (LIBCXXABI_USE_LLVM_UNWINDER) @@ -339,6 +342,9 @@ if (LIBCXX_ENABLE_STATIC) cxx_add_warning_flags(cxx_static) cxx_add_windows_flags(cxx_static) cxx_add_config_site(cxx_static) + cxx_add_exception_flags(cxx_static) + cxx_add_rtti_flags(cxx_static) + cxx_add_module_flags(cxx_static) if (LIBCXX_HERMETIC_STATIC_LIBRARY) # If the hermetic library doesn't define the operator new/delete functions |

