31 lines
683 B
CMake
31 lines
683 B
CMake
# ANSLLM — LLM Integration DLL
|
|
add_library(ANSLLM SHARED
|
|
ANSLLM.cpp
|
|
ANSLLM.h
|
|
dllmain.cpp
|
|
pch.cpp
|
|
pch.h
|
|
framework.h
|
|
)
|
|
|
|
target_include_directories(ANSLLM PUBLIC
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
|
${SHARED_INCLUDE_DIR}
|
|
)
|
|
|
|
target_link_libraries(ANSLLM
|
|
PUBLIC ANSLicensingSystem # PUBLIC: SPDLogger used in ANSLLM.h public header
|
|
PRIVATE anslicensing
|
|
PRIVATE labview
|
|
PRIVATE opencv
|
|
PRIVATE chilkat
|
|
PRIVATE boost
|
|
)
|
|
|
|
if(WIN32)
|
|
target_link_libraries(ANSLLM PRIVATE ${WIN_COMMON_LIBS} crypt32)
|
|
endif()
|
|
|
|
target_compile_definitions(ANSLLM PRIVATE UNICODE _UNICODE ANSLLM_EXPORTS _USRDLL)
|
|
target_precompile_headers(ANSLLM PRIVATE pch.h)
|