As already seen in Development, compilation is done with CMake for easier integration into the Firmware. The CMake file contains some options that define constant environment variables in the build via --dart-define
. These options can, for example, specify the root path of the app or replace the real services with fake ones.
Option | Description | Default |
---|---|---|
OPENREMISE_FRONTEND_BASE_HREF | href attribute of the <base> tag in web/index.html | /./ |
OPENREMISE_FRONTEND_DOMAIN | Default domain for non-kIsWeb builds | remise.local |
OPENREMISE_FRONTEND_SMALL_SCREEN_WIDTH | Width under which a small screen is assumed | 800 |
OPENREMISE_FRONTEND_FAKE_SERVICES | Fake services (for e.g. demo) | false |