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:

committed by
JF

parent
ca7d8a668d
commit
2bc9318451
@@ -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"
|
||||
|
Reference in New Issue
Block a user