1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 01:39:05 -05:00
sdrangel/cmake/ci/build_sdrangel.sh
Kacper Michajłow 70434765d7 Add support for VS2019 and Ninja
- Specify byproducts in external projects
- Use external Boost
- Remove hacky Qt detection
- Fix CRT mismatch in external projects (fixes SoapySDR on Windows)
- Minor fixes
2020-11-04 10:40:17 +01:00

18 lines
332 B
Bash
Executable File

#!/bin/sh -e
if [ "${TRAVIS_OS_NAME}" == "linux" ] || [ ${CI_LINUX} = true ]; then
debuild -i -us -uc -b
else
mkdir -p build; cd build
cmake .. -GNinja ${CMAKE_CUSTOM_OPTIONS}
case "${CMAKE_CUSTOM_OPTIONS}" in
*BUNDLE=ON*)
cmake --build . --target package
;;
*)
cmake --build .
;;
esac
fi