"""
@file
@defgroup rtctk_reusableComponents_rtcSupervisor_lib RTC Supervisor Library
@ingroup rtctk_reusableComponents_rtcSupervisor

@brief Library of functions used in the RTC Supervisor and integration tests.

This library implements most of the RTC Supervisor functionality,
which can then be used not only by the RTC Supervisor application itself,
but also invoked by various test programs for integration tests.

@copyright
  SPDX-FileCopyrightText: 2021-2026 European Southern Observatory (ESO) @n
  SPDX-License-Identifier: LGPL-3.0-only
"""

from wtools.module import declare_cshlib


declare_cshlib(
    target="rtctkSupervisor",
    use=[
        "BOOST",
        "fmt",
        "componentFramework.interfaces.rtctkif-cxx",
        "componentFramework.rtcComponent",
        "componentFramework.services.persistentRepo",
        "componentFramework.services.populateConfig",
    ],
    ut_attrs=dict(use=lambda pkgs, _: pkgs + ["componentFramework.rtcComponent.utSupport"]),
    features="radgen",
)
