This is the same as libcxxabi/libcxx do.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
CMakeLists.txt | ||
---|---|---|
363 ↗ | (On Diff #158495) | libcxx seems to be using a different condition: IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/test", should this be unified? |
CMakeLists.txt | ||
---|---|---|
363 ↗ | (On Diff #158495) | Maybe, but there's more to it than that. libunwind's test/CMakeLists.txt will unconditionally try to do include(AddLLVM), which fails if LLVM_CMAKE_PATH isn't set. libcxx's test/CMakeLists.txt on the other hand will only try to do that if LIBCXX_INCLUDE_TESTS is defined, which it isn't by default. There's lots of the llvm/cmake handling that seems to be quite outdated in libunwind compared to libcxxabi/libcxx, but I'm not really volunteering to unify that... |