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.
 
 
Ole Christian Eidheim 109330db10 Added llvm version 3.6.2 10 years ago
cmake/Modules Added llvm version 3.6.2 10 years ago
docs Added $'s 10 years ago
src Returned offsets are now line and line index to be able to find correct offsets in UTF-8 files. 10 years ago
tests Returned offsets are now line and line index to be able to find correct offsets in UTF-8 files. 10 years ago
.gitignore Initial commit 11 years ago
CMakeLists.txt Update readmes and compilation 11 years ago
LICENSE Initial commit 11 years ago
README.md Update broken link 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

See installation guide

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.