2020-07-24 10:20:35 +01:00
|
|
|
feather_src = [
|
|
|
|
'Main.cpp',
|
|
|
|
'DedicatedServer.cpp',
|
|
|
|
|
|
|
|
'util/StringUtil.cpp',
|
|
|
|
'util/SocketUtil.cpp',
|
|
|
|
|
|
|
|
'config/Properties.cpp',
|
|
|
|
'config/ServerProperties.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
if feather_platform == 'windows'
|
|
|
|
feather_deps = [
|
|
|
|
threads_dep,
|
|
|
|
ws2_32_dep,
|
|
|
|
]
|
|
|
|
else
|
|
|
|
feather_deps = [
|
|
|
|
threads_dep,
|
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
executable('FeatherMC', feather_src,
|
|
|
|
dependencies : feather_deps,
|
|
|
|
include_directories : include_directories('.'),
|
|
|
|
install : true,
|
2020-07-25 00:56:25 +01:00
|
|
|
install_dir : meson.source_root() + '/bin',
|
2020-07-24 10:20:35 +01:00
|
|
|
override_options : [ 'cpp_std=' + feather_cpp_std ])
|