mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-26 17:58:52 +00:00
Merge pull request #58 from allisonvacanti/nvbench_executable
Add an `nvbench-ctl` executable.
This commit is contained in:
@@ -23,14 +23,14 @@ macro(nvbench_generate_exports)
|
||||
rapids_export(BUILD NVBench
|
||||
EXPORT_SET nvbench-targets
|
||||
NAMESPACE "nvbench::"
|
||||
GLOBAL_TARGETS nvbench main internal_build_interface
|
||||
GLOBAL_TARGETS nvbench main ctl internal_build_interface
|
||||
LANGUAGES CUDA CXX
|
||||
FINAL_CODE_BLOCK nvbench_build_export_code_block
|
||||
)
|
||||
rapids_export(INSTALL NVBench
|
||||
EXPORT_SET nvbench-targets
|
||||
NAMESPACE "nvbench::"
|
||||
GLOBAL_TARGETS nvbench main internal_build_interface
|
||||
GLOBAL_TARGETS nvbench main ctl internal_build_interface
|
||||
LANGUAGES CUDA CXX
|
||||
FINAL_CODE_BLOCK nvbench_install_export_code_block
|
||||
)
|
||||
|
||||
@@ -54,3 +54,8 @@ function(nvbench_install_libraries)
|
||||
EXPORT nvbench-targets
|
||||
)
|
||||
endfunction()
|
||||
|
||||
# Call with a list of executables to generate install rules:
|
||||
function(nvbench_install_executables)
|
||||
install(TARGETS ${ARGN} EXPORT nvbench-targets)
|
||||
endfunction()
|
||||
|
||||
Reference in New Issue
Block a user