# SPDX-FileCopyrightText: Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: LicenseRef-NvidiaProprietary
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# disclosure or distribution of this material and related documentation
# without an express license agreement from NVIDIA CORPORATION or
# its affiliates is strictly prohibited.

add_library(eagle_driver SHARED EagleModuleDriver.cpp EagleSensorDriver.cpp EagleMode.cpp)
add_library(uddf::samples::eagle_driver ALIAS eagle_driver)

target_compile_features(eagle_driver PUBLIC cxx_std_17)

# --- Include Directories ---
target_include_directories(eagle_driver
    PUBLIC
        ${CMAKE_CURRENT_SOURCE_DIR}
        ${UDDF_CDD_COMMON}/helpers
)

target_link_libraries(eagle_driver PUBLIC uddf::uddf)

# TODO: Add HSL compilation when eagle_hsl.py is implemented
# hsl_add_driver_sources(eagle_driver
#   SOURCES eagle_hsl.py
#   NAMESPACE uddf::samples::eagle::hsl
#   DEPENDENCIES eagle_data.py
# )