File: README.md

package info (click to toggle)
sdformat 9.3.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,708 kB
  • sloc: cpp: 42,166; python: 1,618; javascript: 704; ruby: 368; sh: 81; ansic: 37; 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
    ```