From 569f231512e618de935c8623bdba4809f8f97595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 15 Jun 2016 23:06:46 +0200 Subject: [PATCH 1/5] Fixed typos in CMake file. --- tests/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index de61c79..10befc3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -4,9 +4,9 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_HOME_DIRECTORY}/cmake/Modules/") -ADD_DEFINITIONS(-DBOOST_TEST_STATIC_LINK) +add_definitions(-DBOOST_TEST_STATIC_LINK) -message("Searcing for libclang") +message("Searching for libclang") #LIBCLANG_FOUND System has libclang. #LIBCLANG_INCLUDE_DIRS The libclang include directories. #LIBCLANG_LIBRARIES The libraries needed to use libclang. @@ -33,4 +33,4 @@ set(tests ${project_tests} ) -add_test(${tests} ${tests}) \ No newline at end of file +add_test(${tests} ${tests}) From 65102e176c79bbe94a6bc4f98d7e0a34ff383a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 15 Jun 2016 23:07:46 +0200 Subject: [PATCH 2/5] Fixed typos in the readme file. --- README.md | 72 +++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index 14d4b6a..830ddca 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,36 @@ -# libclangmm - an easy to use C++-wrapper for libclang # - -## About ## -Provides C++ bindings and class structure to the [libclang](http://www.llvm.org) C library. - -Developed for [juCi++](https://github.com/cppit/jucipp) - a lightweight platform independent C++-IDE. - -## Dependencies ## -* libclang - -## Installation ## -See [installation guide](https://github.com/cppit/libclangmm/blob/master/docs/install.md) - -# 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. - -```sh -# enable_testing() -# add_subdirectory(tests) -``` -Then simply: -```sh -cmake . -make -ctest -``` -If you want an more detailed look at the tests run the binary instead -```sh -cmake . -make -cd tests -./clangmm_tests --log_level=all -``` -To see more log parameters see [here](http://www.boost.org/doc/libs/1_58_0/libs/test/doc/html/utf/user-guide/runtime-config/reference.html). - - +# libclangmm—an easy-to-use C++ wrapper for libclang # + +## About ## +Provides C++ bindings and class structure to the [libclang](http://www.llvm.org) C library. + +Developed for [juCi++](https://github.com/cppit/jucipp), a lightweight, platform-independent C++ IDE. + +## Dependencies ## +* libclang + +## Installation ## +See the [installation guide](https://github.com/cppit/libclangmm/blob/master/docs/install.md). + +# 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. + +```sh +# enable_testing() +# add_subdirectory(tests) +``` +Then simply: +```sh +cmake . +make +ctest +``` +If you want an more detailed look at the tests run the binary instead +```sh +cmake . +make +cd tests +./clangmm_tests --log_level=all +``` +To see more log parameters see [here](http://www.boost.org/doc/libs/1_58_0/libs/test/doc/html/utf/user-guide/runtime-config/reference.html). + + From 86365311ac9bfb877267ea4a3e1012268c6b8ca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 15 Jun 2016 23:10:54 +0200 Subject: [PATCH 3/5] Minor formatting in installation guide. --- docs/install.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/install.md b/docs/install.md index fa9931b..3a22af4 100644 --- a/docs/install.md +++ b/docs/install.md @@ -13,7 +13,7 @@ make sudo make install ``` -## OS X with Homebrew (http://brew.sh/) +## OS X with [Homebrew](http://brew.sh/) ```sh brew install cmake --with-clang llvm ``` @@ -26,13 +26,13 @@ make make install ``` -##Windows with MSYS2 (https://msys2.github.io/) -Install dependencies (replace x86_64 with i686 for 32-bit MSYS2 installs): +##Windows with [MSYS2](https://msys2.github.io/) +Install dependencies (replace `x86_64` with `i686` for 32-bit MSYS2 installs): ```sh pacman -S git mingw-w64-x86_64-cmake make mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang ``` -Compile and install (replace mingw64 with mingw32 for 32-bit MSYS2 installs): +Compile and install (replace `mingw64` with `mingw32` for 32-bit MSYS2 installs): ```sh git clone https://github.com/cppit/libclangmm.git cd libclangmm From 223cda3355c6af4956ea445fc1792b18cfe370cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 15 Jun 2016 23:13:13 +0200 Subject: [PATCH 4/5] Fixed URL in readme file. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 830ddca..90c31a2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Developed for [juCi++](https://github.com/cppit/jucipp), a lightweight, platform * libclang ## Installation ## -See the [installation guide](https://github.com/cppit/libclangmm/blob/master/docs/install.md). +See the [installation guide](docs/install.md). # 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. From 642a9f4f880f57727acaf6893fd7c334f675aa2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Wed, 15 Jun 2016 23:23:39 +0200 Subject: [PATCH 5/5] Updated copyright year in license. --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index af5dd3e..bb137c4 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015 cppit (zippit) +Copyright (c) 2015-2016 cppit (zippit) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal