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.
 
 
Patrick Lühne 9154d5fe2b Updated readme file with information about CMake option for enabling unit tests. 10 years ago
cmake/Modules Removed unneeded const return qualifiers, replaced a couple old c-casts, and updated FindLibClang.cmake 10 years ago
docs updated install doc. 10 years ago
src Added default constructor to clang::Cursor 10 years ago
tests Cleanup of TranslationUnit and CodeCompleteResults. 10 years ago
.gitignore Initial commit 11 years ago
CMakeLists.txt Added CMake option to enable tests (disabled by default). 10 years ago
LICENSE Initial commit 11 years ago
README.md Updated readme file with information about CMake option for enabling unit tests. 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.