We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 275d801 + 3922081 commit cee08ecCopy full SHA for cee08ec
CMakeLists.txt
@@ -53,6 +53,7 @@ option(BUILD_C_BINDINGS "Build C bindings" ON)
53
option(BUILD_PYTHON_BINDINGS "Build Python bindings" ON)
54
option(BUILD_MATLAB_BINDINGS "Build Matlab bindings" ON)
55
option(BUILD_CUDA_LIB "Build CUDA library" OFF)
56
+option(BUILD_EXAMPLES "Build examples" ON)
57
option(USE_OPENMP "Use OpenMP multi-threading" ON)
58
option(USE_MPI "Use MPI" OFF)
59
@@ -154,7 +155,9 @@ endif()
154
155
156
add_subdirectory( cmake )
157
add_subdirectory( src )
-add_subdirectory( examples )
158
+if (BUILD_EXAMPLES)
159
+ add_subdirectory( examples )
160
+endif(BUILD_EXAMPLES)
161
add_subdirectory( test )
162
add_subdirectory( doc )
163
0 commit comments