rename : simple-rx -> ggwave-rx

This commit is contained in:
Georgi Gerganov
2021-01-09 12:48:33 +02:00
parent 1f7113fc50
commit 78af9e96b6
5 changed files with 17 additions and 15 deletions

View File

@@ -69,7 +69,7 @@ The [examples](https://github.com/ggerganov/ggwave/blob/master/examples/) folder
| Example | Description |
| ------- | ----------- |
| [simple-rx](https://github.com/ggerganov/ggwave/blob/master/examples/simple-rx) | A very basic receive-only program |
| [ggwave-rx](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-rx) | A very basic receive-only program |
| [ggwave-cli](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-cli) | A command line tool for sending/receiving data through sound |
| [ggwave-wasm](https://github.com/ggerganov/ggwave/blob/master/examples/ggwave-wasm) | a WebAssembly module for web applications |
| [waver](https://github.com/ggerganov/ggwave/blob/master/examples/waver) | A GUI tool for sending/receiving data through sound |

View File

@@ -73,7 +73,7 @@ if (GGWAVE_SUPPORT_SDL2)
else()
# non-emscripten sdl2 examples
add_subdirectory(simple-rx)
add_subdirectory(ggwave-rx)
add_subdirectory(ggwave-cli)
add_subdirectory(waver)
endif()

View File

@@ -0,0 +1,15 @@
set(TARGET ggwave-rx)
add_executable(${TARGET} main.cpp)
target_include_directories(${TARGET} PRIVATE
..
${SDL2_INCLUDE_DIRS}
)
target_link_libraries(${TARGET} PRIVATE
ggwave
ggwave-common
ggwave-common-sdl2
${CMAKE_THREAD_LIBS_INIT}
)

View File

@@ -1,13 +0,0 @@
add_executable(simple-rx main.cpp)
target_include_directories(simple-rx PRIVATE
..
${SDL2_INCLUDE_DIRS}
)
target_link_libraries(simple-rx PRIVATE
ggwave
ggwave-common
ggwave-common-sdl2
${CMAKE_THREAD_LIBS_INIT}
)