mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-26 16:13:36 +00:00
26 lines
611 B
Meson
26 lines
611 B
Meson
input_sources = files(
|
|
'4J_Input.cpp',
|
|
'INP_ForceFeedback.cpp',
|
|
'INP_Keyboard.cpp',
|
|
'INP_Main.cpp',
|
|
'INP_StringCheck.cpp',
|
|
'stdafx.cpp',
|
|
)
|
|
|
|
lib_input = static_library('4J_Input',
|
|
input_sources,
|
|
include_directories : include_directories('.'),
|
|
cpp_args : global_cpp_args + global_cpp_defs + [
|
|
'-include', meson.current_source_dir() / 'stdafx.h',
|
|
],
|
|
)
|
|
|
|
# We import SDL2 but not SDL3.. which is a bit sad,
|
|
sdl_dep = dependency('sdl2', required : false)
|
|
|
|
input_dep = declare_dependency(
|
|
link_with : lib_input,
|
|
dependencies : [sdl_dep],
|
|
include_directories : include_directories('.'),
|
|
)
|