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
|
#pragma once
|
||||||
#include <SFML/Graphics.hpp>
|
#include <SFML/Graphics.hpp>
|
||||||
|
|
||||||
#include "dbc.hpp"
|
#include "dbc.hpp"
|
||||||
#include "sfmlbackend/color.hpp"
|
#include "sfmlbackend/color.hpp"
|
||||||
#include "lel.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_system = subproject('sfml').get_variable('sfml_system_dep')
|
||||||
sfml_window = subproject('sfml').get_variable('sfml_window_dep')
|
sfml_window = subproject('sfml').get_variable('sfml_window_dep')
|
||||||
|
|
||||||
|
lib_depends = [ fmt, sfml_graphics, sfml_system, sfml_window ]
|
||||||
|
|
||||||
dependencies += [
|
dependencies += [
|
||||||
fmt, json, freetype2,
|
json, freetype2, flac, ogg,
|
||||||
flac, ogg, vorbis, vorbisfile, vorbisenc,
|
vorbis, vorbisfile, vorbisenc, sfml_audio,
|
||||||
sfml_audio, sfml_graphics,
|
] + lib_depends
|
||||||
sfml_system, sfml_window
|
|
||||||
]
|
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
'src/dbc.cpp',
|
'src/dbc.cpp',
|
||||||
|
@ -91,7 +92,7 @@ lel_guecs_lib = static_library('lel-guecs',
|
||||||
cpp_args: cpp_args,
|
cpp_args: cpp_args,
|
||||||
include_directories: lel_guecs_inc,
|
include_directories: lel_guecs_inc,
|
||||||
override_options: exe_defaults,
|
override_options: exe_defaults,
|
||||||
dependencies: dependencies)
|
dependencies: lib_depends)
|
||||||
|
|
||||||
lel_guecs_dep = declare_dependency(
|
lel_guecs_dep = declare_dependency(
|
||||||
link_with: lel_guecs_lib,
|
link_with: lel_guecs_lib,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue