-
-
Notifications
You must be signed in to change notification settings - Fork 106
Home
Jean-Michaël Celerier edited this page Feb 17, 2015
·
28 revisions
Welcome to the i-score wiki!
build :
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
deploy :
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 -DCMAKE_INSTALL_PREFIX=$(pwd)/bundle
astyle command line :
astyle -A1 -t -C -xG -S -N -w -xw -f -p -d -k1 -W1 -j -xL
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