File indexing completed on 2021-12-21 12:24:51

0001 #!/bin/bash
0002 
0003 BUILDDIR=build
0004 
0005 if [ ! -d $BUILDDIR ]; then
0006         mkdir $BUILDDIR
0007 fi
0008 
0009 cd $BUILDDIR
0010 
0011 cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/user/kde ..
0012 # no Cantor
0013 #cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CANTOR=OFF -DCMAKE_INSTALL_PREFIX=/Users/user/kde ..
0014 # no tests
0015 #cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/Users/user/kde ..
0016 # Debug
0017 # cmake -DCMAKE_BUILD_TYPE=DebugFull -DCMAKE_INSTALL_PREFIX=/Users/user/kde ..
0018 
0019 make -j 4
0020 sudo make install