Skip to content

Commit 94d24db

Browse files
committed
Added possibility to include extra apps in build
1 parent e9e2889 commit 94d24db

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

apps/CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,17 @@ macro(sems_add_app_module mod)
1212
endif()
1313
endmacro()
1414

15+
set(EXTRA_APP_MODULES "" CACHE STRING
16+
"Space- or semicolon-separated list of extra apps to include to the build")
17+
18+
# Normalize: replace spaces with semicolons to form a proper CMake list
19+
string(REPLACE " " ";" _extra_app_list "${EXTRA_APP_MODULES}")
20+
21+
foreach(mod IN LISTS _extra_app_list)
22+
message(STATUS "Including extra app module: ${mod}")
23+
sems_add_app_module(${mod})
24+
endforeach()
25+
1526
sems_add_app_module(ann_b2b)
1627
sems_add_app_module(announce_transfer)
1728
sems_add_app_module(announcement)

0 commit comments

Comments
 (0)