Try to trim down what libs are actually needed.
This commit is contained in:
parent
06ca57e5da
commit
f520f0bade
2 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,5 @@
|
|||
#pragma once
|
||||
#include <SFML/Graphics.hpp>
|
||||
|
||||
#include "dbc.hpp"
|
||||
#include "sfmlbackend/color.hpp"
|
||||
#include "lel.hpp"
|
||||
|
|
13
meson.build
13
meson.build
|
@ -61,12 +61,13 @@ sfml_graphics = subproject('sfml').get_variable('sfml_graphics_dep')
|
|||
sfml_system = subproject('sfml').get_variable('sfml_system_dep')
|
||||
sfml_window = subproject('sfml').get_variable('sfml_window_dep')
|
||||
|
||||
lib_depends = [ fmt, sfml_graphics, sfml_system, sfml_window ]
|
||||
|
||||
dependencies += [
|
||||
fmt, json, freetype2,
|
||||
flac, ogg, vorbis, vorbisfile, vorbisenc,
|
||||
sfml_audio, sfml_graphics,
|
||||
sfml_system, sfml_window
|
||||
]
|
||||
json, freetype2, flac, ogg,
|
||||
vorbis, vorbisfile, vorbisenc, sfml_audio,
|
||||
] + lib_depends
|
||||
|
||||
|
||||
sources = [
|
||||
'src/dbc.cpp',
|
||||
|
@ -91,7 +92,7 @@ lel_guecs_lib = static_library('lel-guecs',
|
|||
cpp_args: cpp_args,
|
||||
include_directories: lel_guecs_inc,
|
||||
override_options: exe_defaults,
|
||||
dependencies: dependencies)
|
||||
dependencies: lib_depends)
|
||||
|
||||
lel_guecs_dep = declare_dependency(
|
||||
link_with: lel_guecs_lib,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue