Skip to content

Commit

Permalink
Config refactoring fixes (#1799)
Browse files Browse the repository at this point in the history
* Correct JS requestConfig call

* Update requestWriteConfig to new API format

* Add hyperion-light and bare-minimum preset scenarios
  • Loading branch information
Lord-Grey authored Nov 15, 2024
1 parent ecceb4e commit 5cb3076
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 281 deletions.
54 changes: 54 additions & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,60 @@
"BUILDCACHE_DIR": "${sourceDir}/.buildcache"
}
},
{
"name": "hyperion-light",
"hidden": true,
"cacheVariables": {
"HYPERION_LIGHT": "ON"
}
},
{
"name": "hyperion-bare-minimum",
"hidden": true,
"cacheVariables": {
// Disable Grabbers
"ENABLE_AMLOGIC": "OFF",
"ENABLE_DDA": "OFF",
"ENABLE_DISPMANX": "OFF",
"ENABLE_DX": "OFF",
"ENABLE_FB": "OFF",
"ENABLE_MF": "OFF",
"ENABLE_OSX": "OFF",
"ENABLE_QT": "OFF",
"ENABLE_V4L2": "OFF",
"ENABLE_X11": "OFF",
"ENABLE_XCB": "OFF",
"ENABLE_AUDIO": "OFF",

// LED-Devices
"ENABLE_DEV_FTDI": "OFF",
"ENABLE_DEV_NETWORK": "OFF",
"ENABLE_DEV_SERIAL": "ON",
"ENABLE_DEV_SPI": "OFF",
"ENABLE_DEV_TINKERFORGE": "OFF",
"ENABLE_DEV_USB_HID": "OFF",
"ENABLE_DEV_WS281XPWM": "OFF",

// Disable Input Servers
"ENABLE_BOBLIGHT_SERVER": "OFF",
"ENABLE_CEC": "OFF",
"ENABLE_FLATBUF_SERVER": "OFF",
"ENABLE_PROTOBUF_SERVER": "OFF",

// Disable Output Connectors
"ENABLE_FORWARDER": "OFF",
"ENABLE_FLATBUF_CONNECT": "OFF",

// Disable Services
"ENABLE_EXPERIMENTAL": "OFF",
"ENABLE_MDNS": "OFF",
"ENABLE_REMOTE_CTL": "OFF",
"ENABLE_EFFECTENGINE": "OFF",

"ENABLE_JSONCHECKS": "ON",
"ENABLE_DEPLOY_DEPENDENCIES": "ON"
}
},
{
"name": "debug",
"hidden": true,
Expand Down
Loading

0 comments on commit 5cb3076

Please sign in to comment.