* Moved FrameworkNode to nGraph * Moved graph comparator to ngraph test util * Fixed build * Try to fix centos * Fix export target * Moved engine utils to separate library * Removed ONNX util from common library * Fixed build * Fixed code style
17 lines
535 B
CMake
17 lines
535 B
CMake
# Copyright (C) 2018-2021 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
file(GLOB_RECURSE ONNX_UTIL_SRC "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/*.hpp")
|
|
|
|
add_library(onnx_test_util STATIC ${ONNX_UTIL_SRC})
|
|
|
|
if(COMMAND ie_faster_build)
|
|
ie_faster_build(onnx_test_util UNITY)
|
|
endif()
|
|
|
|
target_link_libraries(onnx_test_util PRIVATE onnx_common)
|
|
target_include_directories(onnx_test_util PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
add_clang_format_target(onnx_test_util_clang FOR_SOURCES ${ONNX_UTIL_SRC})
|