New custom network lib + half finished rigctl server

This commit is contained in:
Ryzerth
2021-07-16 01:49:33 +02:00
parent 218844ed47
commit def6036b30
8 changed files with 593 additions and 93 deletions

View File

@ -4,15 +4,17 @@ project(demo)
if (MSVC)
set(CMAKE_CXX_FLAGS "-O2 /std:c++17 /EHsc")
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup -fPIC")
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -Wno-unused-command-line-argument -undefined dynamic_lookup")
else ()
set(CMAKE_CXX_FLAGS "-O3 -std=c++17 -fPIC")
set(CMAKE_CXX_FLAGS "-O3 -std=c++17")
endif ()
file(GLOB SRC "src/*.cpp")
include_directories("src/")
add_library(demo SHARED ${SRC})
target_link_libraries(demo PRIVATE sdrpp_core)
set_target_properties(demo PROPERTIES PREFIX "")
# Install directives

View File

@ -18,7 +18,7 @@ public:
}
~DemoModule() {
gui::menu.removeEntry(name);
}
void enable() {