CMake User Applications selection
Use CMake's configure_file() functionality to generate the list of User Applications. All the apps included in current versions of InfiniTime are enabled by default, but this can now be overridden by setting variables ENABLE_APP_XXX to True or False. CMake CMP0140 is set to NEW to enable the return PROPAGATE functionality.
This commit is contained in:
parent
ca7d8a668d
commit
2bc9318451
3 changed files with 40 additions and 2 deletions
|
|
@ -63,6 +63,8 @@ namespace Pinetime {
|
|||
static constexpr size_t Count = sizeof...(As);
|
||||
};
|
||||
|
||||
using UserAppTypes = TypeList<@USERAPP_TYPES@>;
|
||||
|
||||
template <WatchFace... Ws>
|
||||
struct WatchFaceTypeList {
|
||||
static constexpr size_t Count = sizeof...(Ws);
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#pragma once
|
||||
#include "Apps.h"
|
||||
#include "displayapp/Apps.h"
|
||||
#include "Controllers.h"
|
||||
|
||||
#include "displayapp/screens/Alarm.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue