Jiale/test2_ort/cmake/lite.ai.toolkit.cmake

22 lines
496 B
CMake
Raw Normal View History

2024-05-15 18:06:07 +08:00
# construt shared lib and
add_lite_ai_toolkit_shared_library(${VERSION_STRING} ${SOVERSION_STRING})
message(STATUS "begin moving header files to build/... ")
add_lite_ai_toolkit_engines_headers_command()
# TODO: Windows需要之后兼容
if(${PLATFORM_NAME} MATCHES macos OR ${PLATFORM_NAME} MATCHES linux)
add_lite_ai_toolkit_engines_libs_command()
endif()
if(${PLATFORM_NAME} MATCHES macos OR ${PLATFORM_NAME} MATCHES linux)
add_lite_ai_toolkit_test_custom_command()
endif()