diff --git a/ci/windows/build_and_create_installer.sh b/ci/windows/build_and_create_installer.sh index be8819c8a7..8544979f1f 100644 --- a/ci/windows/build_and_create_installer.sh +++ b/ci/windows/build_and_create_installer.sh @@ -65,6 +65,19 @@ build_iio-emu(){ $MAKE_BIN -j4 } +build_libserialport(){ + echo "### Building LIBSERIALPORT" + if [ ! -d "$WORKDIR/libserialport" ]; then + git clone https://github.com/cseci/libserialport $WORKDIR/libserialport -b scopy-v2 + fi + + cd $WORKDIR/libserialport + bash -v $WORKDIR/autogen.sh + bash -v $WORKDIR/configure.sh --prefix=$WORKDIR/libserialport/ + make + make install +} + deploy_app(){ echo "### Deploying application and dependencies" if [ -d $DEST_FOLDER ]; then @@ -85,6 +98,8 @@ deploy_app(){ cp -n iio_*.exe $DEST_FOLDER/ popd + cp $WORKDIR/libserialport/lib/libserialport.dll $DEST_FOLDER/ + cp $EMU_BUILD_FOLDER/iio-emu.exe $DEST_FOLDER cp -r $PYTHON_FILES $DEST_FOLDER cp $BUILD_FOLDER/windows/scopy-$ARCH_BIT.iss $DEST_FOLDER diff --git a/ci/windows/mingw_dll_deps b/ci/windows/mingw_dll_deps index 32d06e617a..4bebfb8d44 100644 --- a/ci/windows/mingw_dll_deps +++ b/ci/windows/mingw_dll_deps @@ -1 +1 @@ -libspdlog.dll* libglibmm-*.dll libsigrokdecode-*.dll libgcc_s_*.dll libstdc++-*.dll Qt5Core.dll libboost_thread-mt.dll libgnuradio-analog.dll libgnuradio-blocks.dll libgnuradio-fft.dll libwinpthread-*.dll libgnuradio-filter.dll libgnuradio-m2k.dll libgnuradio-pmt.dll libgnuradio-runtime.dll libgnuradio-scopy.dll libgnuradio-iio.dll libad9361.dll libiio.dll Qt5Qml.dll Qt5Xml.dll qwt.dll libglib-*.dll libgmodule-*.dll libsigc-*.dll libgobject-*.dll libpython*.dll libboost_filesystem-mt.dll libboost_chrono-mt.dll libboost_program_options-mt.dll libgmp-*.dll libusb-*.dll libxml2-*.dll Qt5Network.dll Qt5OpenGL.dll Qt5Svg.dll Qt5PrintSupport.dll libintl-*.dll libiconv-*.dll zlib1.dll Qt5Gui.dll tinyiiod.dll libm2k.dll libvolk.dll libfftw3f*.dll Qt5Widgets.dll libicudt*.dll libffi-*.dll liblzma-5.dll libdouble-conversion.dll libicuin*.dll libicuuc*.dll libpcre2-*.dll libzstd.dll libharfbuzz-*.dll libpng16-*.dll liborc-*.dll libfreetype-*.dll libgraphite2.dll libbrotlidec.dll libbz2-*.dll libbrotlicommon.dll libcrypto*.dll libssl*.dll libmd4c.dll libserialport-0.dll +libspdlog.dll* libglibmm-*.dll libsigrokdecode-*.dll libgcc_s_*.dll libstdc++-*.dll Qt5Core.dll libboost_thread-mt.dll libgnuradio-analog.dll libgnuradio-blocks.dll libgnuradio-fft.dll libwinpthread-*.dll libgnuradio-filter.dll libgnuradio-m2k.dll libgnuradio-pmt.dll libgnuradio-runtime.dll libgnuradio-scopy.dll libgnuradio-iio.dll libad9361.dll libiio.dll Qt5Qml.dll Qt5Xml.dll qwt.dll libglib-*.dll libgmodule-*.dll libsigc-*.dll libgobject-*.dll libpython*.dll libboost_filesystem-mt.dll libboost_chrono-mt.dll libboost_program_options-mt.dll libgmp-*.dll libusb-*.dll libxml2-*.dll Qt5Network.dll Qt5OpenGL.dll Qt5Svg.dll Qt5PrintSupport.dll libintl-*.dll libiconv-*.dll zlib1.dll Qt5Gui.dll tinyiiod.dll libm2k.dll libvolk.dll libfftw3f*.dll Qt5Widgets.dll libicudt*.dll libffi-*.dll liblzma-5.dll libdouble-conversion.dll libicuin*.dll libicuuc*.dll libpcre2-*.dll libzstd.dll libharfbuzz-*.dll libpng16-*.dll liborc-*.dll libfreetype-*.dll libgraphite2.dll libbrotlidec.dll libbz2-*.dll libbrotlicommon.dll libcrypto*.dll libssl*.dll libmd4c.dll