Now mostly working with GUECS but shaders are still busted. Have to find out why they stopped working.
This commit is contained in:
parent
a5f6a82611
commit
ac22a11c9f
27 changed files with 162 additions and 1210 deletions
11
meson.build
11
meson.build
|
@ -1,7 +1,7 @@
|
|||
# clang might need _LIBCPP_ENABLE_CXX26_REMOVED_CODECVT
|
||||
|
||||
project('turings-tarpit', 'cpp',
|
||||
version: '0.1.0',
|
||||
version: '0.2.0',
|
||||
default_options: [
|
||||
'cpp_std=c++20',
|
||||
'cpp_args=-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1',
|
||||
|
@ -69,6 +69,7 @@ sfml_network = dependency('sfml_network')
|
|||
sfml_system = dependency('sfml_system')
|
||||
sfml_window = dependency('sfml_window',
|
||||
default_options: ['default_library=shared'])
|
||||
lel_guecs = dependency('lel_guecs')
|
||||
|
||||
cmake = import('cmake')
|
||||
opts = cmake.subproject_options()
|
||||
|
@ -89,23 +90,22 @@ dependencies += [
|
|||
flac, ogg, vorbis, vorbisfile, vorbisenc,
|
||||
sfml_audio, sfml_graphics,
|
||||
sfml_network, sfml_system,
|
||||
sfml_window, libgit2package, efsw
|
||||
sfml_window, libgit2package, efsw, lel_guecs
|
||||
]
|
||||
|
||||
sources = [
|
||||
'builder.cpp',
|
||||
'config.cpp',
|
||||
'dbc.cpp',
|
||||
'game_engine.cpp',
|
||||
'guecs.cpp',
|
||||
'gui.cpp',
|
||||
'lel.cpp',
|
||||
'matrix.cpp',
|
||||
'rand.cpp',
|
||||
'shaders.cpp',
|
||||
'sound.cpp',
|
||||
'dbc.cpp',
|
||||
'textures.cpp',
|
||||
'watcher.cpp',
|
||||
'backend.cpp',
|
||||
]
|
||||
|
||||
executable('ttpit', sources + [
|
||||
|
@ -119,7 +119,6 @@ executable('ttpit', sources + [
|
|||
executable('runtests', sources + [
|
||||
'tests/game_engine.cpp',
|
||||
'tests/fsm.cpp',
|
||||
'tests/dbc.cpp',
|
||||
],
|
||||
cpp_args: cpp_args,
|
||||
link_args: link_args,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue