From c7435f428747be18e72c76623962a2096d52b976 Mon Sep 17 00:00:00 2001 From: Alexander Efimov Date: Tue, 28 Sep 2021 15:19:35 +0300 Subject: [PATCH] [infra] Introduce STATIC_LUCI option (#7767) This PR introduces STATIC_LUCI option to enable static build of luci libraries. ONE-DCO-1.0-Signed-off-by: Alexander Efimov --- infra/nncc/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infra/nncc/CMakeLists.txt b/infra/nncc/CMakeLists.txt index eb279902e37..bde68493807 100644 --- a/infra/nncc/CMakeLists.txt +++ b/infra/nncc/CMakeLists.txt @@ -130,6 +130,11 @@ option(ENABLE_STRICT_BUILD "Treat warning as error" OFF) # Check our ProtobufConfig.cmake for its usage. option(USE_PROTOBUF_LEGACY_IMPORT "Use legacy MODULE mode import rather than CONFIG mode" OFF) +# This option might be turned ON for MCU builds of luci related components. +# It specify which library type to use for build: +# if set ON - luci libraries are static, otherwise - shared. +option(STATIC_LUCI "Build luci as a static libraries" OFF) + ### ### Target ###