feat(network): began incoporating network

This commit is contained in:
2025-03-21 10:39:53 -04:00
parent a42fe4898c
commit 67c9a3e860
3 changed files with 30 additions and 5 deletions

30
src/network/meson.build Normal file
View File

@@ -0,0 +1,30 @@
# Define the library
network_sources = files(
'private/network.cpp',
)
network_headers = files(
'public/network.h'
)
dependencies = [
boost_dep,
const_dep
]
# Define the libnetwork library so it can be linked against by other parts of the build system
libnetwork = static_library('network',
network_sources,
include_directories: include_directories('public'),
dependencies: dependencies,
install : true)
network_dep = declare_dependency(
include_directories: include_directories('public'),
link_with: libnetwork,
sources: network_sources,
dependencies: dependencies,
)
# Make headers accessible
install_headers(network_headers, subdir : '4DSSE/network')

View File

@@ -1,12 +1,7 @@
#include <iostream> #include <iostream>
#include <fstream>
#include <sstream>
#include <cmath> #include <cmath>
#include <string>
#include <stdexcept> #include <stdexcept>
#include <array> #include <array>
#include <numbers>
#include <utility>
#include <boost/numeric/odeint.hpp> #include <boost/numeric/odeint.hpp>
#include <boost/phoenix/core.hpp> #include <boost/phoenix/core.hpp>

View File