blob: dd93b8af743a7565e929aeda89c4a29898e09543 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -280,8 +280,14 @@ rocm_package_setup_component(profiler
)
add_subdirectory(library)
-add_subdirectory(example)
-add_subdirectory(test)
+option(BUILD_EXAMPLES "Build examples" OFF)
+if(BUILD_EXAMPLES)
+ add_subdirectory(example)
+endif()
+option(BUILD_TESTS "Build binaries for tests" OFF)
+if(BUILD_TESTS)
+ add_subdirectory(test)
+endif()
add_subdirectory(profiler)
#Create an interface target for the include only files and call it "composablekernels"
|