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.
 
 

1.0 KiB

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.