From 9f603f786998c1de4821a28770cb580b9f86ebb6 Mon Sep 17 00:00:00 2001 From: Exil Productions Date: Sat, 27 Dec 2025 00:24:33 +0100 Subject: [PATCH] rename bin --- CMakeLists.txt | 7 +++---- {example => server}/main.c | 0 2 files changed, 3 insertions(+), 4 deletions(-) rename {example => server}/main.c (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fb3c3d..965cbb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,9 +20,8 @@ set_target_properties(rtmp PROPERTIES PUBLIC_HEADER include/rtmp_capi.h ) -# Example executable -add_executable(rtmp_example example/main.c) -target_link_libraries(rtmp_example rtmp) +add_executable(rtmp_server server/main.c) +target_link_libraries(rtmp_server rtmp) install(TARGETS rtmp LIBRARY DESTINATION lib @@ -30,4 +29,4 @@ install(TARGETS rtmp PUBLIC_HEADER DESTINATION include ) -install(TARGETS rtmp_example DESTINATION bin) +install(TARGETS rtmp_server DESTINATION bin) diff --git a/example/main.c b/server/main.c similarity index 100% rename from example/main.c rename to server/main.c