mirror of https://gitlab.com/cppit/libclangmm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
10 years ago | |
|---|---|---|
| cmake/Modules | 11 years ago | |
| docs | 11 years ago | |
| src | 11 years ago | |
| tests | 11 years ago | |
| .gitignore | 11 years ago | |
| CMakeLists.txt | 11 years ago | |
| LICENSE | 11 years ago | |
| README.md | 11 years ago | |
README.md
libclangmm - An easy to use C++-wrapper for libclang
About
This is a highlevel wrapper for libclang. It provides highlevel C++11 access to complicated C code.
Dependencies
- libclang
Installation
Quickstart
$ git clone https://github.com/cppit/libclangmm.git clangmm
$ cd clangmm
$ make
$ sudo make install
Tests
The compilation of the tests are disabled due to ease of installation. Simply enter CMakeList.txt and uncomment the last two lines in the file to enable testing.
# enable_testing()
# add_subdirectory(tests)
Then simply:
$ cmake .
$ make
$ ctest
If you want an more detailed look at the tests run the binary instead
$ cmake .
$ make
$ cd tests
$ ./clangmm_tests --log_level=all
To see more log parameters see here.