Skip to content
Jean-Michaël Celerier edited this page Apr 3, 2015 · 28 revisions

Welcome to the i-score wiki!

Useful informations

build on osx :

brew install qt5 boost 
mkdir build
cd build

ISCORE_CMAKE_QT_CONFIG="$(find /usr/local/Cellar/qt5 -name Qt5Config.cmake)"
ISCORE_CMAKE_QT_PATH="$(dirname $(dirname $ISCORE_CMAKE_QT_CONFIG))"
cmake -DCMAKE_PREFIX_PATH="$ISCORE_CMAKE_QT_PATH/Qt5;$ISCORE_CMAKE_QT_PATH/Qt5Widgets;$ISCORE_CMAKE_QT_PATH/Qt5Network;$ISCORE_CMAKE_QT_PATH/Qt5Test;$ISCORE_CMAKE_QT_PATH/Qt5Gui;$ISCORE_CMAKE_QT_PATH/Qt5Xml;$ISCORE_CMAKE_QT_PATH/Qt5Core;" ..
make -j4

run :

./iscore_app

Options

static, no deploy/bundle, no jamoma :

cmake ../../i-score -DCMAKE_PREFIX_PATH="/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5;/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5Test" -DISCORE_STATIC_PLUGINS:Bool=True 

shared, no deploy/bundle, no jamoma :

cmake ../../i-score -DCMAKE_PREFIX_PATH="/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5;/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5Test" -DISCORE_STATIC_PLUGINS:Bool=False 

shared, no deploy/bundle, jamoma :

cmake ../../i-score -DCMAKE_PREFIX_PATH="/usr/local/jamoma/share/cmake/Jamoma;/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5;/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5Test" -DISCORE_STATIC_PLUGINS:Bool=False 

static, deploy, jamoma :

cmake ../../i-score -DCMAKE_PREFIX_PATH="/usr/local/jamoma/share/cmake/Jamoma;/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5;/usr/local/Cellar/qt5/5.4.0/lib/cmake/Qt5Test" -DISCORE_STATIC_PLUGINS:Bool=True -DDEPLOYMENT_BUILD:Bool=True -DCMAKE_INSTALL_PREFIX=$(pwd)/bundle   
rm -rf bundle i-score.app
cmake .
make install

build on windows :

First install boost, Qt (MinGW for now), CMake Then in QtCreator run CMake with :

-DBoost_INCLUDE_DIR=c:\boost_1_57_0

astyle command line :

astyle -A1 --indent=spaces=4 -C -xG -S -N -w -xw -f -U -k1 -W1 -j -xL --close-templates

cppcheck :

cppcheck -v --library=qt --xml --enable=all --quiet --std=c++11 -i base/plugins/device_explorer -I plugins/scenario -I lib -I lib/core -I ~/Qt/5.3/gcc_64/include/ base 2> cppcheck.xml 
./cppcheck-htmlreport --file=cppcheck.xml --report-dir=html   
Clone this wiki locally