move chapter 1 into separate directory

This commit is contained in:
Антон 2024-03-30 08:06:42 +03:00
parent 162165a7a2
commit 7cac9a29b3
9 changed files with 16 additions and 16 deletions

View File

@ -20,41 +20,41 @@ set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
add_executable(client_endpoint
endpoint.cpp
src/chapter01_the_basics/endpoint.cpp
src/sdk.h)
target_link_libraries(client_endpoint PRIVATE Threads::Threads)
add_executable(server_endpoint
server_endpoint.cpp
src/chapter01_the_basics/server_endpoint.cpp
src/sdk.h)
target_link_libraries(server_endpoint PRIVATE Threads::Threads)
add_executable(active_socket
active_socket.cpp
src/chapter01_the_basics/active_socket.cpp
src/sdk.h)
target_link_libraries(active_socket PRIVATE Threads::Threads)
add_executable(passive_socket
passive_socket.cpp
src/chapter01_the_basics/passive_socket.cpp
src/sdk.h)
target_link_libraries(passive_socket PRIVATE Threads::Threads)
add_executable(resolving_dns
resolving_dns.cpp
src/chapter01_the_basics/resolving_dns.cpp
src/sdk.h)
target_link_libraries(resolving_dns PRIVATE Threads::Threads)
add_executable(binding_socket_to_an_endpoint
binding_socket_to_an_endpoint.cpp
src/chapter01_the_basics/binding_socket_to_an_endpoint.cpp
src/sdk.h)
target_link_libraries(binding_socket_to_an_endpoint PRIVATE Threads::Threads)
add_executable(connecting_a_socket
connecting_a_socket.cpp
src/chapter01_the_basics/connecting_a_socket.cpp
src/sdk.h)
target_link_libraries(connecting_a_socket PRIVATE Threads::Threads)
add_executable(accepting_connections.cpp
accepting_connections.cpp
src/chapter01_the_basics/accepting_connections.cpp
src/sdk.h)
target_link_libraries(accepting_connections.cpp PRIVATE Threads::Threads)

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
#include <boost/asio.hpp>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
#include <boost/asio.hpp>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
#include <boost/asio.hpp>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
//
#include <boost/asio.hpp>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
//
#include <boost/asio.hpp>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
#include <boost/asio.hpp>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
#include <boost/asio.hpp>
#include <iostream>

View File

@ -1,4 +1,4 @@
#include "src/sdk.h"
#include "../sdk.h"
#include <boost/asio.hpp>
#include <iostream>