mirror of
https://github.com/nlohmann/json.git
synced 2026-07-06 10:35:10 +00:00
@@ -75,8 +75,8 @@ target_compile_options(test_main PUBLIC
|
|||||||
# https://github.com/nlohmann/json/pull/3229
|
# https://github.com/nlohmann/json/pull/3229
|
||||||
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196>
|
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196>
|
||||||
|
|
||||||
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated;-Wno-float-equal>
|
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal>
|
||||||
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations>
|
$<$<CXX_COMPILER_ID:Clang>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal>
|
||||||
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=1786>)
|
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=1786>)
|
||||||
target_include_directories(test_main PUBLIC
|
target_include_directories(test_main PUBLIC
|
||||||
thirdparty/doctest
|
thirdparty/doctest
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ target_compile_options(abi_compat_common INTERFACE
|
|||||||
# https://github.com/nlohmann/json/pull/3229
|
# https://github.com/nlohmann/json/pull/3229
|
||||||
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196>
|
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=2196>
|
||||||
|
|
||||||
$<$<NOT:$<CXX_COMPILER_ID:MSVC>>:-Wno-deprecated;-Wno-float-equal>
|
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal>
|
||||||
$<$<CXX_COMPILER_ID:GNU>:-Wno-deprecated-declarations>
|
$<$<CXX_COMPILER_ID:Clang>:-Wno-deprecated-declarations;-Wno-deprecated;-Wno-float-equal>
|
||||||
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=1786>)
|
$<$<CXX_COMPILER_ID:Intel>:-diag-disable=1786>)
|
||||||
target_include_directories(abi_compat_common SYSTEM INTERFACE
|
target_include_directories(abi_compat_common SYSTEM INTERFACE
|
||||||
../thirdparty/doctest
|
../thirdparty/doctest
|
||||||
|
|||||||
Reference in New Issue
Block a user