Private
Public Access
2
0

cmake: add option to disable example building

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2015-08-14 14:35:35 +01:00
parent 3f51ebaaf1
commit 8390c5cfb7

View File

@@ -57,6 +57,7 @@ option (BUILDSWIGJAVA "Build Java API." OFF)
option (IPK "Generate IPK using CPack" OFF)
option (RPM "Generate RPM using CPack" OFF)
option (BUILDPYTHON3 "Use python3 for building/installing" OFF)
option (ENABLEEXAMPLES "Disable building of examples" ON)
option (INSTALLGPIOTOOL "Install gpio tool" OFF)
option (BUILDARCH "Override architecture to build for - override" OFF)
option (TESTS "Override the addition of tests" ON)
@@ -171,4 +172,6 @@ if (RPM)
endif()
add_subdirectory (src)
if (ENABLEEXAMPLES)
add_subdirectory (examples)
endif ()