File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -245,6 +245,7 @@ option(ENABLE_COVERAGE "Build code coverage report from tests" OFF)
245245option (ENABLE_FUZZ_TARGETS "Build target programs suitable for fuzzing with AFL" OFF )
246246option (ENABLE_INTERNAL_DOCS "Generate doxygen documentation also from internal headers" OFF )
247247option (ENABLE_YANGLINT_INTERACTIVE "Enable interactive CLI yanglint" ON )
248+ option (ENABLE_TOOLS "Build binary tools 'yanglint' and 'yangre'" ON )
248249option (BUILD_SHARED_LIBS "By default, shared libs are enabled. Turn off for a static build." ON )
249250set (YANG_MODULE_DIR "${CMAKE_INSTALL_PREFIX} /${CMAKE_INSTALL_DATADIR} /yang/modules/libyang" CACHE STRING "Directory where to copy the YANG modules to" )
250251
@@ -456,7 +457,9 @@ endif()
456457gen_coverage("utest_.*" "utest_.*_valgrind" )
457458
458459# tools - yanglint, yangre
459- add_subdirectory (tools)
460+ if (ENABLE_TOOLS)
461+ add_subdirectory (tools)
462+ endif ()
460463
461464# generate doxygen documentation for libyang API
462465gen_doc("${doxy_files} " ${LIBYANG_VERSION} ${LIBYANG_DESCRIPTION} ${project_logo} )
You can’t perform that action at this time.
0 commit comments