File: README.md

package info (click to toggle)
f3d 3.2.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,668 kB
  • sloc: cpp: 99,109; python: 811; sh: 342; xml: 238; java: 101; javascript: 95; makefile: 25
file content (23 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Examples

This folder contains examples on how to use `libf3d`. All the examples are using some form of `find_package(f3d)` so they are intended to be built against an existing f3d installation with the `sdk` or `plugin_sdk` component installed.
The code is documented in a didactic way to help with understanding them.

## libf3d

Examples usages of the libf3d, which requires the `sdk` cmake component to be installed.

## plugins

Examples plugins for the libf3d, which also requires the `plugin_sdk` cmake component to be installed.

## Building

Each example is intended to be built as a separate CMake project, however top level `CMakeLists.txt` are provided if needed.

```
cmake -Df3d_DIR=/path/to/f3d/install/lib/cmake/f3d /path/to/example/dir
cmake --build .
```

Then run the example