After trying a few SFM libraries I found they're just too much for what I need, so here's the start of a simple one I can use.
This commit is contained in:
parent
356314406f
commit
b9025be45b
2 changed files with 68 additions and 3 deletions
|
@ -11,9 +11,9 @@ opts.add_cmake_defines({
|
|||
'BUILD_TESTS': false,
|
||||
})
|
||||
libgit2_proj = cmake.subproject('libgit2', options: opts)
|
||||
libgit2package_dep = libgit2_proj.dependency('libgit2package')
|
||||
libgit2package = libgit2_proj.dependency('libgit2package')
|
||||
|
||||
efsw_dep = dependency('efsw')
|
||||
efsw = dependency('efsw')
|
||||
fmt = dependency('fmt')
|
||||
catch2 = dependency('catch2-with-main')
|
||||
sfml = dependency('sfml')
|
||||
|
@ -21,7 +21,7 @@ json = dependency('nlohmann_json')
|
|||
imgui = dependency('imgui-sfml')
|
||||
|
||||
dependencies = [
|
||||
fmt, libgit2package_dep, efsw_dep,
|
||||
fmt, libgit2package, efsw,
|
||||
sfml, imgui, json
|
||||
]
|
||||
|
||||
|
@ -46,6 +46,9 @@ executable('jsontest', 'jsontest.cpp',
|
|||
executable('threadtest', 'threadtest.cpp',
|
||||
dependencies: dependencies)
|
||||
|
||||
executable('fsmtest', 'fsmtest.cpp',
|
||||
dependencies: dependencies)
|
||||
|
||||
executable('badref', 'badref.cpp',
|
||||
dependencies: dependencies)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue