-
Notifications
You must be signed in to change notification settings - Fork 186
/
appveyor.yml
62 lines (42 loc) · 1.99 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '{build}'
branches:
only:
- stable
- master
image: Visual Studio 2015
clone_folder: c:\projects\limesuite
environment:
WXWIDGETS_ROOT_DIR: C:\projects\deps\wxWidgets
FX3_SDK_PATH: C:\projects\deps\FX3SDK
CONFIGURATION: RelWithDebInfo
matrix:
- CMAKE_GENERATOR: Visual Studio 14 2015
WXWIDGETS_LIBS_DIR: C:\projects\deps\wxWidgets\lib\vc140_dll
WXWIDGETS_LIBS_DOWNLOAD_LINK: https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxMSW-3.1.0_vc140_Dev.7z
- CMAKE_GENERATOR: Visual Studio 14 2015 Win64
WXWIDGETS_LIBS_DIR: C:\projects\deps\wxWidgets\lib\vc140_x64_dll
WXWIDGETS_LIBS_DOWNLOAD_LINK: https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxMSW-3.1.0_vc140_x64_Dev.7z
install:
- cmd: >-
mkdir C:\projects\deps
cd C:\projects\deps
appveyor DownloadFile "%WXWIDGETS_LIBS_DOWNLOAD_LINK%" -FileName wxMSW-3.1.0_Dev.7z
7z x wxMSW-3.1.0_Dev.7z -oC:\projects\deps\wxWidgets > nul
appveyor DownloadFile https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.0/wxWidgets-3.1.0-headers.7z wxWidgets-3.1.0-headers.7z
7z x wxWidgets-3.1.0-headers.7z -oC:\\projects\\deps\\wxWidgets > nul
appveyor DownloadFile http://downloads.myriadrf.org/project/limesuite/appveyor/FX3SDK.zip FX3SDK.zip
7z x FX3SDK.zip -oC:\projects\deps\FX3SDK > nul
git clone https://github.com/pothosware/SoapySDR.git
cd SoapySDR
mkdir build && cd build
cmake ../ -G "%CMAKE_GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION%
cmake --build . --config %CONFIGURATION%
cmake --build . --config %CONFIGURATION% --target install
build_script:
- cmd: >-
cmake --version
cd c:\projects\limesuite
mkdir temp
cd temp
cmake .. -G "%CMAKE_GENERATOR%" -DCMAKE_PREFIX_PATH="%WXWIDGETS_LIBS_DIR%" -DwxWidgets_LIB_DIR="%WXWIDGETS_LIBS_DIR%" -DwxWidgets_ROOT_DIR="%WXWIDGETS_ROOT_DIR%" -DFX3_SDK_PATH="%FX3_SDK_PATH%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DENABLE_EVB7COM=ON
cmake --build . --config %CONFIGURATION%