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.
1 parent 49c9fb5 commit ada3c96Copy full SHA for ada3c96
CMakeLists.txt
@@ -9,6 +9,7 @@ option(USE_HTTPS "Https Support" OFF)
9
option(USE_RPI "Raspberry Pi Support" OFF)
10
option(USE_REMOTE "Remote API Support" OFF)
11
option(BUILD_SHARED_LIBS "Build with shared libraries" ON)
12
+option(BUILD_EXAMPLES "Build with examples" OFF)
13
14
# Https support: Build with wolfssl
15
if(USE_HTTPS)
@@ -94,4 +95,6 @@ if(USE_FTDI)
94
95
endif(USE_FTDI)
96
97
# build examples
-add_subdirectory("examples")
98
+if(BUILD_EXAMPLES)
99
+ add_subdirectory("examples")
100
+endif(BUILD_EXAMPLES)
0 commit comments