File: README.md

package info (click to toggle)
sight 25.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 42,184 kB
  • sloc: cpp: 289,476; xml: 17,257; ansic: 9,878; python: 1,379; sh: 144; makefile: 33
file content (21 lines) | stat: -rw-r--r-- 556 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# sight::module::ui::console

Module used to launch a main loop for console applications, it does not contain any service.

To be started the module needs to be set as a cmake dependency of the console application **and** needs to be set as a xml requirement in the `plugin.xml` of the app (see [How to use it section](##How-to-use-it)).
## How to use it
### CMake

```cmake
add_dependencies(myApp 
                 module_ui_console
)
```
### XML

```xml
<plugin id="myApp" library="true" >

    <requirement id="sight::module::ui::console" />
    ...
```