mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-03-27 01:45:28 +01:00
fixed OpenBSD build 4
This commit is contained in:
parent
ba81f25933
commit
922a226028
@ -27,15 +27,15 @@ endif (MSVC)
|
|||||||
|
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "OpenBSD")
|
||||||
add_custom_target(do_always ALL cp \"$<TARGET_FILE_DIR:sdrpp_core>/sdrpp_core.so\" \"$<TARGET_FILE_DIR:sdrpp>\")
|
add_custom_target(do_always ALL cp \"$<TARGET_FILE_DIR:sdrpp_core>/libsdrpp_core.so\" \"$<TARGET_FILE_DIR:sdrpp>\")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
add_custom_target(do_always ALL cp \"$<TARGET_FILE_DIR:sdrpp_core>/sdrpp_core.so\" \"$<TARGET_FILE_DIR:sdrpp>\")
|
add_custom_target(do_always ALL cp \"$<TARGET_FILE_DIR:sdrpp_core>/libsdrpp_core.so\" \"$<TARGET_FILE_DIR:sdrpp>\")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||||
add_custom_target(do_always ALL cp \"$<TARGET_FILE_DIR:sdrpp_core>/sdrpp_core.dylib\" \"$<TARGET_FILE_DIR:sdrpp>\")
|
add_custom_target(do_always ALL cp \"$<TARGET_FILE_DIR:sdrpp_core>/libsdrpp_core.dylib\" \"$<TARGET_FILE_DIR:sdrpp>\")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
# cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/Users/Alex/vcpkg/scripts/buildsystems/vcpkg.cmake" -G "Visual Studio 15 2017 Win64"
|
# cmake .. "-DCMAKE_TOOLCHAIN_FILE=C:/Users/Alex/vcpkg/scripts/buildsystems/vcpkg.cmake" -G "Visual Studio 15 2017 Win64"
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cp build/modules/*/*.so root/modules
|
cp build/*/*.so root/modules
|
||||||
|
13
readme.md
13
readme.md
@ -63,15 +63,14 @@ comming soon :)
|
|||||||
|
|
||||||
# Building on OSX
|
# Building on OSX
|
||||||
## Install requirements
|
## Install requirements
|
||||||
|
|
||||||
```
|
```
|
||||||
brew tap pothosware/homebrew-pothos
|
brew tap pothosware/homebrew-pothos
|
||||||
brew install volk glew glfw fftw portaudio
|
brew install volk glew glfw fftw portaudio
|
||||||
brew install soapysdr
|
brew install soapysdr
|
||||||
```
|
```
|
||||||
You can install additional soapy device support based on your hardware.
|
You can install additional soapy device support based on your hardware.
|
||||||
## The build
|
|
||||||
|
|
||||||
|
## The build
|
||||||
```
|
```
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
@ -81,20 +80,26 @@ cmake --build . --config Release
|
|||||||
|
|
||||||
# Building on OpenBSD
|
# Building on OpenBSD
|
||||||
## Install requirements
|
## Install requirements
|
||||||
|
|
||||||
```
|
```
|
||||||
pkg_add fftw3-float glew glfw portaudio-svn
|
pkg_add fftw3-float glew glfw portaudio-svn
|
||||||
|
|
||||||
# install volk and SoapySDR manually
|
# install volk and SoapySDR manually
|
||||||
```
|
```
|
||||||
|
|
||||||
## The build
|
## The build
|
||||||
```
|
```
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake --clang ..
|
cmake --clang ..
|
||||||
cmake --build . --config Release
|
make
|
||||||
|
cd ..
|
||||||
|
./prepare_root.sh
|
||||||
|
cp -Rf root root_dev # if are in dev
|
||||||
|
mv root/modules ./
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Run SDRPP with `build/sdrpp`.
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
|
|
||||||
Feel free to issue pull request and report bugs via the github issues.
|
Feel free to issue pull request and report bugs via the github issues.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user