We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2cea2 commit bfa7833Copy full SHA for bfa7833
cmake/NVBenchConfigTarget.cmake
@@ -40,6 +40,10 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
40
nvbench_add_cxx_flag(nvbench.build_interface INTERFACE "/WX")
41
endif()
42
43
+ # Suppress warnings from CPM dependency headers:
44
+ nvbench_add_cxx_flag(nvbench.build_interface INTERFACE "/external:I ${NVBench_BUILD_DIR}/_deps")
45
+ nvbench_add_cxx_flag(nvbench.build_interface INTERFACE "/external:W0")
46
+
47
# Suppress overly-pedantic/unavoidable warnings brought in with /W4:
48
# C4505: unreferenced local function has been removed
49
# The CUDA `host_runtime.h` header emits this for
0 commit comments