mirror of https://github.com/libp2p/cpp-libp2p.git
Browse Source
* Update hunter links * Switch to C++20 * Update ci.yml * Remove ninja, fix cmake version * Fix event emitter test * Update cmake/toolchain/clang-15_cxx17.cmake Co-authored-by: Dmitriy Khaustov <khaustov.dm@gmail.com> --------- Co-authored-by: Dmitriy Khaustov <khaustov.dm@gmail.com>pull/215/head v0.1.13
kamilsa
1 year ago
committed by
GitHub
29 changed files with 59 additions and 63 deletions
@ -1,16 +1,16 @@ |
|||
if(ASAN) |
|||
print("Address Sanitizer is enabled") |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-8_cxx17_asan.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-14_cxx20_asan.cmake) |
|||
elseif(LSAN) |
|||
print("Leak Sanitizer is enabled") |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-8_cxx17_lsan.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-14_cxx20_lsan.cmake) |
|||
elseif(MSAN) |
|||
print("Memory Sanitizer is enabled") |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-8_cxx17_msan.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-14_cxx20_msan.cmake) |
|||
elseif(TSAN) |
|||
print("Thread Sanitizer is enabled") |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-8_cxx17_tsan.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-14_cxx20_tsan.cmake) |
|||
elseif(UBSAN) |
|||
print("Undefined Behavior Sanitizer is enabled") |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-8_cxx17_ubsan.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/san/clang-14_cxx20_ubsan.cmake) |
|||
endif() |
|||
|
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_address.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-14.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx20.cmake) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_leak.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-14.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx20.cmake) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_memory.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-14.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx20.cmake) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_thread.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-14.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx20.cmake) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_undefined.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-14.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx20.cmake) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_address.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-15.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx20.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_address.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx17.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_leak.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx17.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_memory.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx17.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_thread.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx17.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_undefined.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx17.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_address.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/clang-9.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx17.cmake) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_address.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/gcc-11.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx20.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/flags/sanitize_address.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/compiler/gcc-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../toolchain/cxx17.cmake) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../print.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/compiler/clang-15.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/cxx20.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../print.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/compiler/clang-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/cxx17.cmake) |
@ -1,3 +1,3 @@ |
|||
set(CMAKE_CXX_STANDARD 17) |
|||
set(CMAKE_CXX_STANDARD 20) |
|||
set(CMAKE_CXX_STANDARD_REQUIRED ON) |
|||
set(CMAKE_CXX_EXTENSIONS OFF) |
@ -0,0 +1,3 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../print.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/compiler/gcc-11.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/cxx20.cmake) |
@ -1,3 +0,0 @@ |
|||
include(${CMAKE_CURRENT_LIST_DIR}/../print.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/compiler/gcc-8.cmake) |
|||
include(${CMAKE_CURRENT_LIST_DIR}/cxx17.cmake) |
Loading…
Reference in new issue