FeatherMC/src/meson.build

39 lines
889 B
Meson

feather_src = [
'Main.cpp',
'DedicatedServer.cpp',
'MinecraftClient.cpp',
'logging/Logger.cpp',
'nbt/NBT.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',
'world/World.cpp',
'world/WorldManager.cpp',
'world/RegionFile.cpp',
]
subdir('protocol')
executable('FeatherMC', feather_src, protocol_headers,
dependencies : feather_deps,
include_directories : include_directories(
'.',
'../subprojects/rapidjson/include',
'../subprojects/fmt/include',
'../subprojects' # for zlib and cNBT, which have no include dir
),
install : true,
install_dir : meson.source_root() + '/bin',
override_options : [ 'cpp_std=' + feather_cpp_std ])