|
|
|
@ -21,8 +21,7 @@ You can download the zip [here](https://github.com/cppit/libclangmm/archive/mast |
|
|
|
|
|
|
|
|
|
|
|
### Cloning the repository ### |
|
|
|
### Cloning the repository ### |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
```sh |
|
|
|
#!bash |
|
|
|
|
|
|
|
$ git clone https://github.com/cppit/libclangmm.git |
|
|
|
$ git clone https://github.com/cppit/libclangmm.git |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
@ -30,18 +29,16 @@ $ git clone https://github.com/cppit/libclangmm.git |
|
|
|
|
|
|
|
|
|
|
|
## Installation ## |
|
|
|
## Installation ## |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
```sh |
|
|
|
#!sh |
|
|
|
$ cmake . |
|
|
|
cmake . |
|
|
|
$ make install |
|
|
|
make install |
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
**Notice:** *make install* needs root privileges |
|
|
|
**Notice:** *make install* needs root privileges |
|
|
|
|
|
|
|
|
|
|
|
# Usage # |
|
|
|
# Usage # |
|
|
|
One quick start: |
|
|
|
One quick start: |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
```cpp |
|
|
|
#!c++ |
|
|
|
|
|
|
|
// lets say it is empty |
|
|
|
// lets say it is empty |
|
|
|
std::string path("your file here"); |
|
|
|
std::string path("your file here"); |
|
|
|
|
|
|
|
|
|
|
|
@ -90,4 +87,4 @@ One quick start: |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
``` |
|
|
|
``` |
|
|
|
For more examples see tests/ |
|
|
|
For more examples see tests/ |
|
|
|
|