# SPDX-FileCopyrightText: Copyright (c) 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(eeprom_gt24c64d_driver
    GT24C64D.cpp
)
add_library(uddf-cdd::eeprom_gt24c64d_driver ALIAS eeprom_gt24c64d_driver)

target_compile_features(eeprom_gt24c64d_driver PUBLIC cxx_std_17)

# --- Include Directories ---
target_include_directories(eeprom_gt24c64d_driver
    PUBLIC
        ${CMAKE_CURRENT_SOURCE_DIR}
        ${UDDF_CDD_COMMON_UTILS}
        ${UDDF_CDD_DRIVER}
)

target_link_libraries(eeprom_gt24c64d_driver PUBLIC uddf::uddf)

# --- HSL Compilation ---
hsl_add_driver_sources(eeprom_gt24c64d_driver
    SOURCES GT24C64DHsl.py
    NAMESPACE uddf::cdd::gt24c64d::hsl
)
