Browse Source

Resolved conflicts

merge-requests/37/head
eidheim 10 years ago
parent
commit
b298871937
  1. 2
      LICENSE
  2. 4
      README.md
  3. 8
      docs/install.md
  4. 6
      tests/CMakeLists.txt

2
LICENSE

@ -1,6 +1,6 @@
The MIT License (MIT) 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 Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

4
README.md

@ -1,9 +1,9 @@
# libclangmm - an easy to use C++-wrapper for libclang # # libclangmm - an easy-to-use C++ wrapper for libclang #
## About ## ## About ##
Provides C++ bindings and class structure to the [libclang](http://www.llvm.org) C library. 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. Developed for [juCi++](https://github.com/cppit/jucipp), a lightweight, platform-independent C++ IDE.
## Dependencies ## ## Dependencies ##
* libclang * libclang

8
docs/install.md

@ -13,7 +13,7 @@ make
sudo make install sudo make install
``` ```
## OS X with Homebrew (http://brew.sh/) ## OS X with [Homebrew](http://brew.sh/)
```sh ```sh
brew install cmake --with-clang llvm brew install cmake --with-clang llvm
``` ```
@ -26,13 +26,13 @@ make
make install make install
``` ```
##Windows with MSYS2 (https://msys2.github.io/) ##Windows with [MSYS2](https://msys2.github.io/)
Install dependencies (replace x86_64 with i686 for 32-bit MSYS2 installs): Install dependencies (replace `x86_64` with `i686` for 32-bit MSYS2 installs):
```sh ```sh
pacman -S git mingw-w64-x86_64-cmake make mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang 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 ```sh
git clone https://github.com/cppit/libclangmm.git git clone https://github.com/cppit/libclangmm.git
cd libclangmm cd libclangmm

6
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/") 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_FOUND System has libclang.
#LIBCLANG_INCLUDE_DIRS The libclang include directories. #LIBCLANG_INCLUDE_DIRS The libclang include directories.
#LIBCLANG_LIBRARIES The libraries needed to use libclang. #LIBCLANG_LIBRARIES The libraries needed to use libclang.
@ -33,4 +33,4 @@ set(tests
${project_tests} ${project_tests}
) )
add_test(${tests} ${tests}) add_test(${tests} ${tests})

Loading…
Cancel
Save