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.
 
 
eidheim 89cdce36da Fixes #26: fixed memory leak in clang::Index 10 years ago
cmake/Modules Removed unneeded const return qualifiers, replaced a couple old c-casts, and updated FindLibClang.cmake 10 years ago
docs Minor formatting in installation guide. 10 years ago
src Fixes #26: fixed memory leak in clang::Index 10 years ago
tests Fixed typos in CMake file. 10 years ago
.gitignore Initial commit 11 years ago
CMakeLists.txt Added CMake option to enable tests (disabled by default). 10 years ago
LICENSE Updated copyright year in license. 10 years ago
README.md Resolved conflicts 10 years ago

README.md

libclangmm - an easy-to-use C++ wrapper for libclang

About

Provides C++ bindings and class structure to the libclang C library.

Developed for juCi++, a lightweight, platform-independent C++ IDE.

Dependencies

  • libclang

Installation

See installation guide

Tests

To run the unit tests, first enable the CMake option LIBCLANGMM_BUILD_TESTS:

cmake -DLIBCLANGMM_BUILD_TESTS=ON .

Then, simply call:

make
ctest

You may also run the test binary directly to get more details:

make
cd tests
./clangmm_tests --log_level=all

For more options, see the documentation of boost’s unit testing framework.