Experiments in using Lua with sol2 and how best to structure the data. Contains a shoot out of SOA, vs AOS vs. MOA. SOA = Struct of Arrays AOS = Array of Structs MOA = Many Array of Structs (kind of a hybrid)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sol2_test/meson.build

42 lines
1016 B

project('sol2_test', 'cpp',
version: '0.1.0',
default_options: [
'cpp_std=c++23',
# 'cpp_args=-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1',
])
# use this for common options only for our executables
cpp_args=[
'-Wno-unused-parameter',
'-Wno-unused-function',
'-Wno-unused-variable',
'-Wno-unused-but-set-variable',
'-Wno-deprecated-declarations',
]
link_args=[]
# these are passed as override_defaults
exe_defaults = [ 'warning_level=2', 'werror=false']
fmt = subproject('fmt').get_variable('fmt_dep')
fuc2 = subproject('fuc2').get_variable('fuc2_dep')
sol2 = subproject('sol2').get_variable('sol2_dep')
dependencies = [fmt, fuc2, sol2]
sources = [
]
executable('sol2_test', [
'tests/sol2_test.cpp',
'tests/bao_tests.cpp',
'tests/soa_tests.cpp',
'tests/perf_tests.cpp',
'src/stats.cpp',
'tests/main.cpp',
],
cpp_args: cpp_args,
link_args: link_args,
include_directories: include_directories('src'),
override_options: exe_defaults,
dependencies: dependencies)