aboutsummaryrefslogtreecommitdiffstats
path: root/doc/code/Apps.md
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2023-12-23 20:43:59 +0100
committerJF <JF002@users.noreply.github.com>2023-12-23 21:29:13 +0100
commit2ee2b8523affe827d2ec1921f8a1793a473f6444 (patch)
treee7c646a0f2ed03b0d227d08b6060cef5f2b6c020 /doc/code/Apps.md
parent06171dad3836e0d4199100d71b82f9f89dad40be (diff)
User applications selection using CMake
Fix typos in Apps.md and add new line in src/displayapp/apps/CMakeLists.txt
Diffstat (limited to 'doc/code/Apps.md')
-rw-r--r--doc/code/Apps.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/code/Apps.md b/doc/code/Apps.md
index 3be47ad7..6ca84481 100644
--- a/doc/code/Apps.md
+++ b/doc/code/Apps.md
@@ -159,7 +159,10 @@ If your application is a **user** application, you don't need to add anything in
everything will be automatically generated for you.
The user application will also be automatically be added to the app launcher menu.
-Since the list of **user** application is generated by CMake, you need to add the variable `ENABLE_USERAPPS` to the command line of CMake. This variable must be set with a string composed of an ordered list of the **user** applications that must be built into the firmware. The items of the list are fields from the enumeration `Apps`. Ex : build the firmware with 3 user application : Alarm, Timer and MyApp (the application will be listed in this specific order in the application menu).
+Since the list of **user** application is generated by CMake, you need to add the variable `ENABLE_USERAPPS` to the command line of CMake.
+This variable must be set with a string composed of an ordered list of the **user** applications that must be built into the firmware.
+The items of the list are fields from the enumeration `Apps`.
+Ex : build the firmware with 3 user application : Alarm, Timer and MyApp (the application will be listed in this specific order in the application menu).
```cmake
$ cmake ... -DENABLE_USERAPPS="Apps::Alarm, Apps::Timer, Apps::MyApp" ...