feather_src = [ 'Main.cpp', 'DedicatedServer.cpp', 'MinecraftClient.cpp', 'logging/Logger.cpp', 'nbt/NBT.cpp', 'data/Registry.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/Chunk.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 ])