Caution

The OS module and its submodules are not available when targeting WASM

The OS module provides many utility headers and functions for working with the underlying operating system. The module also includes a wide variety of submodules:

To enable the module, update your uvproj.yaml file like this

name: "MyProject"
version: "1.0.0.0"
engine-version: "1.0.0.0"
enabled-modules:
  os: true

Then, regenerate the modules cache by running the following command:

user $ https://madladsquad.com/UVKBuildTool --generate <project directory>

After that, refresh your CMake project with cmake ..!

The module needs to stay enabled for any submodules to be enabled!

Checking for the module

To check for the module at compile time, use the UIMGUI_OS_MODULE_ENABLED macro.

Runtime checking can be done using the os member of the ModuleSettings struct. More info can be found here.