Suppress warnings on MSVC Debug builds.

Also moved the config.cuh.in template into the source directory where
it'll be easier to find.
This commit is contained in:
Allison Vacanti
2021-12-21 19:34:36 -05:00
parent edf2018fd7
commit 288b1564e0
8 changed files with 66 additions and 28 deletions

View File

@@ -1,4 +1,4 @@
function(nvbench_write_config_header filepath)
function(nvbench_write_config_header in_file out_file)
if (NVBench_ENABLE_NVML)
set(NVBENCH_HAS_NVML 1)
endif()
@@ -7,5 +7,5 @@ function(nvbench_write_config_header filepath)
set(NVBENCH_HAS_CUPTI 1)
endif()
configure_file("${NVBench_SOURCE_DIR}/cmake/config.cuh.in" "${filepath}")
configure_file("${in_file}" "${out_file}")
endfunction()