master slave mode working

This commit is contained in:
quackerd 2023-03-14 14:30:56 +01:00
parent 227d65a235
commit ddf0b5ce2d

View File

@ -6,8 +6,8 @@ find_package(PkgConfig REQUIRED)
find_package(OpenSSL REQUIRED)
pkg_check_modules(bsock REQUIRED bsock)
set(CXXFLAGS -Wall -Wextra -Werror -std=c++17 -Og -g)
set(CFLAGS -Wall -Wextra -Werror -std=c2x -Og -g)
set(CXXFLAGS -Wall -Wextra -Werror -std=c++17 -O3 -g)
set(CFLAGS -Wall -Wextra -Werror -std=c2x -O3 -g)
add_library(common OBJECT ${CMAKE_CURRENT_SOURCE_DIR}/common/io.cc)
target_link_directories(common PRIVATE ${bsock_LIBRARY_DIRS})