2
0

Merge pull request #25 from mawad-amd/muhaawad/build_examples_option

Add `BUILD_EXAMPLES` CMake option
Este cometimento está contido em:
Yiltan
2025-01-24 10:50:10 -05:00
cometido por GitHub
ascendente bacced0cc3 7a6b3261a3
cometimento a458ea2ef4
+5 -1
Ver ficheiro
@@ -54,6 +54,7 @@ option(USE_SHARED_CTX "Request support for shared ctx between WG" OFF)
option(USE_SINGLE_NODE "Enable single node support only." OFF)
option(USE_HOST_SIDE_HDP_FLUSH "Use a polling thread to flush the HDP cache on the host." OFF)
option(BUILD_FUNCTIONAL_TESTS "Build the functional tests" ON)
option(BUILD_EXAMPLES "Build the examples" ON)
option(BUILD_SOS_TESTS "Build the host-facing tests" OFF)
option(BUILD_UNIT_TESTS "Build the unit tests" ON)
option(BUILD_LOCAL_GPU_TARGET_ONLY "Build only for GPUs detected on this machine" OFF)
@@ -152,7 +153,10 @@ target_include_directories(
###############################################################################
add_subdirectory(src)
add_subdirectory(tests)
add_subdirectory(examples)
IF (BUILD_EXAMPLES)
add_subdirectory(examples)
ENDIF()
###############################################################################
# HIP