File: README.md

package info (click to toggle)
sdformat 12.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,980 kB
  • sloc: cpp: 54,706; python: 3,729; javascript: 704; ruby: 366; sh: 97; ansic: 30; makefile: 16
file content (20 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## Simple Example

This example compiles and runs the code in `simple.cc`. The `simple` program is
a basic example of parsing an SDF file and accessing the resulting data.

1. Compile

    ```
    mkdir build; cd build
    ```

    ```
    cmake ../; make
    ```

1. Run

    ```
    ./simple ../simple.sdf
    ```