mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +01:00
Final tweaks to windows CI for M17 decoder
This commit is contained in:
parent
fb9bbcb158
commit
40d21b3321
3
.github/workflows/build_all.yml
vendored
3
.github/workflows/build_all.yml
vendored
@ -47,6 +47,9 @@ jobs:
|
||||
- name: Build codec2
|
||||
run: cd codec2/build ; C:/msys64/msys2_shell.cmd -defterm -here -no-start -mingw64 -c "ninja"
|
||||
|
||||
- name: Install codec2
|
||||
run: mkdir "C:/Program Files/codec2" ; mkdir "C:/Program Files/codec2/include" ; mkdir "C:/Program Files/codec2/include/codec2" ; mkdir "C:/Program Files/codec2/lib" ; cd "codec2" ; xcopy "src" "C:/Program Files/codec2/include" ; cd "build" ; xcopy "src" "C:/Program Files/codec2/lib" ; xcopy "codec2" "C:/Program Files/codec2/include/codec2"
|
||||
|
||||
- name: Install vcpkg dependencies
|
||||
run: vcpkg install fftw3:x64-windows glew:x64-windows glfw3:x64-windows portaudio:x64-windows
|
||||
|
||||
|
@ -23,8 +23,8 @@ set_target_properties(m17_decoder PROPERTIES PREFIX "")
|
||||
|
||||
if (MSVC)
|
||||
# Lib path
|
||||
target_include_directories(m17_decoder PUBLIC "C:/Users/ryzerth/Documents/Code/codec2/src")
|
||||
target_link_directories(sdrpp_core PUBLIC "C:/Users/ryzerth/Documents/Code/codec2/build/src")
|
||||
target_include_directories(m17_decoder PUBLIC "C:/Program Files/codec2/include/")
|
||||
target_link_directories(sdrpp_core PUBLIC "C:/Program Files/codec2/lib")
|
||||
|
||||
target_link_libraries(m17_decoder PRIVATE libcodec2)
|
||||
|
||||
|
@ -52,6 +52,9 @@ cp $build_dir/network_sink/Release/network_sink.dll sdrpp_windows_x64/modules/
|
||||
|
||||
|
||||
# Copy decoder modules
|
||||
cp $build_dir/m17_decoder/Release/m17_decoder.dll sdrpp_windows_x64/modules/
|
||||
cp "C:/Program Files/codec2/lib/libcodec2.dll" sdrpp_windows_x64/
|
||||
|
||||
cp $build_dir/meteor_demodulator/Release/meteor_demodulator.dll sdrpp_windows_x64/modules/
|
||||
cp $build_dir/radio/Release/radio.dll sdrpp_windows_x64/modules/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user