Skip to content

Commit

Permalink
[infra] Introduce STATIC_LUCI option (Samsung#7767)
Browse files Browse the repository at this point in the history
This PR introduces STATIC_LUCI option to enable static build of luci libraries.

ONE-DCO-1.0-Signed-off-by: Alexander Efimov <[email protected]>
  • Loading branch information
binarman authored Sep 28, 2021
1 parent 18900c9 commit c7435f4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions infra/nncc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
###
Expand Down

0 comments on commit c7435f4

Please sign in to comment.