mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-04-01 02:36:56 +08:00
rename : simple-rx -> ggwave-rx
This commit is contained in:
@@ -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 |
|
||||
|
||||
@@ -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()
|
||||
|
||||
15
examples/ggwave-rx/CMakeLists.txt
Normal file
15
examples/ggwave-rx/CMakeLists.txt
Normal 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}
|
||||
)
|
||||
@@ -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}
|
||||
)
|
||||
Reference in New Issue
Block a user