feat(network): began incoporating network
This commit is contained in:
30
src/network/meson.build
Normal file
30
src/network/meson.build
Normal 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')
|
||||||
@@ -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>
|
||||||
|
|||||||
0
src/network/public/network.h
Normal file
0
src/network/public/network.h
Normal file
Reference in New Issue
Block a user