# ANSUtilities — Utility DLL (AWS S3, common helpers)
add_library(ANSUtilities SHARED
    ANSUtilities.cpp
    ANSUtilities.h
    ANSAWSS3.cpp
    dllmain.cpp
    pch.cpp
    pch.h
    framework.h
)

target_include_directories(ANSUtilities PUBLIC
    ${CMAKE_CURRENT_SOURCE_DIR}
)

target_link_libraries(ANSUtilities
    PRIVATE ANSLicensingSystem
    PRIVATE labview
    PRIVATE opencv
    PRIVATE chilkat
)

if(WIN32)
    target_link_libraries(ANSUtilities PRIVATE ${WIN_COMMON_LIBS} crypt32)
endif()

target_compile_definitions(ANSUtilities PRIVATE UNICODE _UNICODE ANSUTILITIES_EXPORTS)
target_precompile_headers(ANSUtilities PRIVATE pch.h)
