load("@rules_cc//cc:defs.bzl", "cc_library")
load("//tools:copts.bzl", "COPTS")

cc_library(
    name = "settings_loader",
    srcs = ["SettingsLoader.cpp"],
    hdrs = ["SettingsLoader.hpp"],
    copts = COPTS,
    data = [
        "//src/main/resources/net/eagle0/shardok:battalion_types",
        "//src/main/resources/net/eagle0/shardok:settings",
    ],
    visibility = [
        "//src/main/cpp/net/eagle0/shardok/library/action_point_distances:__pkg__",
        "//src/main/cpp/net/eagle0/shardok/server:__pkg__",
    ],
    deps = [
        "//src/main/cpp/net/eagle0/shardok/library:battalion_type",
        "//src/main/cpp/net/eagle0/shardok/library/settings:game_settings",
        "//src/main/cpp/net/eagle0/shardok/util:battalion_type_registrar",
    ],
)
