29 lines
703 B
Meson
29 lines
703 B
Meson
feather_src = [
|
|
'Main.cpp',
|
|
'DedicatedServer.cpp',
|
|
'MinecraftClient.cpp',
|
|
'Protocol.cpp',
|
|
|
|
'logging/Logger.cpp',
|
|
|
|
'network/NetworkManager.cpp',
|
|
'network/TCPListener.cpp',
|
|
'network/TCPClient.cpp',
|
|
'network/TCPSocket.cpp',
|
|
'network/SocketAddress.cpp',
|
|
|
|
'util/StringUtil.cpp',
|
|
|
|
'config/Properties.cpp',
|
|
'config/ServerProperties.cpp',
|
|
]
|
|
|
|
subdir('protocol')
|
|
|
|
executable('FeatherMC', feather_src, protocol_headers,
|
|
dependencies : feather_deps,
|
|
include_directories : include_directories('.', '../subprojects/rapidjson/include'),
|
|
install : true,
|
|
install_dir : meson.source_root() + '/bin',
|
|
override_options : [ 'cpp_std=' + feather_cpp_std ])
|