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 df42c7658b Added default constructor to clang::Cursor 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 CMakeLists now works with -DCMAKE_INSTALL_PREFIX to install on all platforms. 10 years ago
LICENSE Initial commit 11 years ago
README.md Yet another minor type fix to README.md. 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

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.