Formatting.
This commit is contained in:
parent
5d829fa310
commit
276505ffff
@ -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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user