Bug 5591814: Update CMakeLists.txt and add cmake/InstallSamples.cmake to support make install

This commit is contained in:
Shawn Zeng
2025-10-31 16:57:26 +08:00
parent 9df0ef6411
commit 547f65851f
2 changed files with 174 additions and 0 deletions

View File

@@ -22,4 +22,10 @@ endif()
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --extended-lambda")
# Include installation configuration
include(cmake/InstallSamples.cmake)
add_subdirectory(Samples)
# Setup installation for all samples
setup_samples_install()