mirror of https://gitlab.com/cppit/jucipp
5 changed files with 87 additions and 39 deletions
@ -1,13 +1,13 @@ |
|||||||
cmake_minimum_required (VERSION 2.8.4) |
cmake_minimum_required (VERSION 2.8.4) |
||||||
|
|
||||||
set(project_name juci) |
set(project_name juci) |
||||||
set(module juci_to_python_api) |
#set(module juci_to_python_api) |
||||||
|
|
||||||
#### TODO WINDOWS SUPPORT #### |
#### TODO WINDOWS SUPPORT #### |
||||||
set(bin_install_path "/usr/local/bin") |
set(bin_install_path "/usr/local/bin") |
||||||
set(lib_install_path "/usr/local/lib/python2.7/dist-packages/") |
#set(lib_install_path "/usr/local/lib/python2.7/dist-packages/") |
||||||
##### |
##### |
||||||
|
|
||||||
project (${project_name}) |
project (${project_name}) |
||||||
|
|
||||||
add_subdirectory("src") |
add_subdirectory("src") |
||||||
|
|||||||
@ -1,22 +1,55 @@ |
|||||||
# juCi++ |
# juCi++ |
||||||
## Installation guide ## |
## Installation guide ## |
||||||
Before installation, please install libclangmm see [installation guide](http://github.com/cppit/libclangmm/blob/master/docs/install.md) for installation. |
Before installation, please install libclangmm, see [installation guide](http://github.com/cppit/libclangmm/blob/master/docs/install.md). |
||||||
|
|
||||||
## Debian |
## Debian |
||||||
First dependencies: |
|
||||||
```sh |
```sh |
||||||
$ sudo apt-get install libboost-python-dev libboost-filesystem-dev libboost-log-dev libboost-test-dev |
sudo apt-get install pkg-config libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libgtkmm-3.0-dev libgtksourceviewmm-3.0-dev |
||||||
libboost-thread-dev libboost-system-dev libgtkmm-3.0-dev libgtksourceview2.0-dev libgtksourceviewmm-3.0-dev |
|
||||||
libpython-dev libclang-dev make cmake gcc g++ |
|
||||||
``` |
``` |
||||||
Install the project: |
|
||||||
```sh |
```sh |
||||||
$ git clone http://github.com/cppit/jucipp.git juci |
git clone http://github.com/cppit/jucipp.git |
||||||
$ cd juci |
cd jucipp |
||||||
$ cmake . |
cmake . |
||||||
$ make |
make |
||||||
$ sudo make install |
sudo make install |
||||||
``` |
``` |
||||||
|
|
||||||
|
## OS X with Homebrew (http://brew.sh/) |
||||||
|
```sh |
||||||
|
brew install pkg-config boost gtkmm3 gtksourceviewmm3 |
||||||
|
``` |
||||||
|
|
||||||
|
```sh |
||||||
|
git clone https://github.com/cppit/jucipp.git |
||||||
|
cd jucipp |
||||||
|
cmake . |
||||||
|
make |
||||||
|
make install |
||||||
|
``` |
||||||
|
|
||||||
|
## Windows with Cygwin (https://www.cygwin.com/) |
||||||
|
**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: |
||||||
|
``` |
||||||
|
pkg-config libboost-devel libgtkmm3.0-devel libgtksourceviewmm3.0-devel xinit |
||||||
|
``` |
||||||
|
Then run the following in the Cygwin Terminal: |
||||||
|
```sh |
||||||
|
git clone https://github.com/cppit/jucipp.git |
||||||
|
cd jucipp |
||||||
|
cmake . |
||||||
|
make |
||||||
|
make install |
||||||
|
``` |
||||||
|
|
||||||
|
Note that we are currently working on a Windows-version without the need of an X-server. |
||||||
|
|
||||||
## Run |
## Run |
||||||
```sh |
```sh |
||||||
$ juci |
juci |
||||||
|
``` |
||||||
|
|
||||||
|
#Windows |
||||||
|
```sh |
||||||
|
startxwin /usr/local/bin/juci |
||||||
``` |
``` |
||||||
|
|||||||
Loading…
Reference in new issue