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.

61 lines
1.2 KiB

# Installation guide #
## Debian/Ubuntu
10 years ago
```sh
sudo apt-get install git cmake make g++ libclang-dev
```
10 years ago
```sh
git clone https://github.com/cppit/libclangmm.git
cd libclangmm
cmake .
make
sudo make install
```
## OS X with Homebrew (http://brew.sh/)
10 years ago
```sh
brew install cmake --with-clang llvm
```
10 years ago
```sh
git clone https://github.com/cppit/libclangmm.git
cd libclangmm
cmake .
make
make install
```
10 years ago
##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):
```sh
10 years ago
git clone https://github.com/cppit/libclangmm.git
cd libclangmm
cmake -G"MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw64 .
make
make install
```
<!--
## Windows with Cygwin (https://www.cygwin.com/)
10 years ago
**Make sure the PATH environment variable does not include paths to non-Cygwin cmake, make and g++.**
Select and install the following packages from the Cygwin-installer:
```
git cmake make gcc-g++ libclang-devel
```
10 years ago
Then run the following in the Cygwin Terminal:
```sh
git clone https://github.com/cppit/libclangmm.git
cd libclangmm
cmake .
make
make install
```
10 years ago
-->