feat(network): began incoporating network

This commit is contained in:
2025-03-21 10:39:53 -04:00
parent 5d1044a55a
commit 6876b87947
4 changed files with 34 additions and 6 deletions

View File

@@ -1,4 +1,6 @@
# Build the main source code in the correct order
# Unless you know what you are doing, do not change the order of the subdirectories
# as there are dependencies which exist between them.
# Utility Libraries
subdir('misc')
@@ -15,4 +17,5 @@ subdir('meshIO')
# Resouce Manager Libraries
subdir('resource')
# Physics Libraries
# Physics Libraries
subdir('network')

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 <fstream>
#include <sstream>
#include <cmath>
#include <string>
#include <stdexcept>
#include <array>
#include <numbers>
#include <utility>
#include <boost/numeric/odeint.hpp>
#include <boost/phoenix/core.hpp>

View File