Skip to content

Exec submodule

Stanislav Vasilev edited this page Jul 4, 2024 · 12 revisions

In this page, we will detail the cross-platform exec module provided by our own UntitledExec library.

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

Enabling in the build system

To enable it, update your uvproj.yaml so that the uexec key under enabled-modules is set to true like this:

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

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

user $ ./UVKBuildTool --generate <project directory>

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

Event safety

The entire module is flagged as event safe at Any time.

Using the library

The library has already been documented on its own GitHub repo's wiki here, simply skip the initial installation instructions since they're not relevant.

Checking for the module

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

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

Clone this wiki locally