Formatting.

This commit is contained in:
Axel Naumann 2017-03-19 23:02:22 +01:00 committed by sftnight
parent 5d829fa310
commit 276505ffff

View File

@ -1,4 +1,4 @@
=== Example project using cling as library ===
### Example project using cling as library
This example project uses cling as an external library.
It compiles code and calls it, moving values from the compiled part to the
@ -8,10 +8,11 @@ It showcases how to use cling as a library, and shows how to set up a simple
CMake configuration that uses cling.
==== How to build ====
### How to build
After installing cling (say into /where/cling/is/installed), configure this
project using CMake like this:
cmake -Dcling_DIR=/where/cling/is/installed/lib/cmake/cling /path/to/cling/sources/tools/cling/tools/demo
make && ./cling-demo
```bash
cmake -Dcling_DIR=/where/cling/is/installed/lib/cmake/cling /path/to/cling/sources/tools/cling/tools/demo
make && ./cling-demo
```