mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-26 21:58:37 -05:00
Update build.sh
This commit is contained in:
parent
02794adb59
commit
3f0763ea6f
@ -20,9 +20,23 @@ cmake ../SoapySDR -DCMAKE_BUILD_TYPE=Release
|
||||
make -j2
|
||||
sudo make install
|
||||
|
||||
# wxWidgets - TODO: TRAVIS-CI CACHE!
|
||||
cd $HOME/build
|
||||
mkdir -p $HOME/build/wxWidgets/staticlib
|
||||
cd wxWidgets
|
||||
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.2/wxWidgets-3.1.2.tar.bz2
|
||||
tar -xvjf wxWidgets-3.1.2.tar.bz2
|
||||
cd wxWidgets-3.1.2/
|
||||
./autogen.sh
|
||||
./configure --with-opengl --disable-shared --enable-monolithic --with-libjpeg --with-libtiff --with-libpng --with-zlib --disable-sdltest --enable-unicode --enable-display --enable-propgrid --disable-webkit --disable-webview --disable-webviewwebkit --prefix=`echo $HOME/build/wxWidgets/staticlib` CXXFLAGS="-std=c++0x"
|
||||
make -j2
|
||||
make install
|
||||
|
||||
|
||||
# CubicSDR
|
||||
cd $HOME/build
|
||||
mkdir cjcliffe/CubicSDR-build
|
||||
cd cjcliffe/CubicSDR-build
|
||||
cmake ../CubicSDR -DCMAKE_BUILD_TYPE=Release
|
||||
cmake ../CubicSDR -DCMAKE_BUILD_TYPE=Release -DwxWidgets_CONFIG_EXECUTABLE=$HOME/build/wxWidgets/staticlib/bin/wx-config
|
||||
make -j2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user