forked from sammysun0711/openvino.genai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
25 lines (17 loc) · 844 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
# start of dependencies
include(FetchContent)
FetchContent_Declare(cxxopts
URL https://github.com/jarro2783/cxxopts/archive/refs/tags/v3.1.1.tar.gz
URL_HASH SHA256=523175f792eb0ff04f9e653c90746c12655f10cb70f1d5e6d6d9491420298a08)
FetchContent_Declare(nlohmann_json
URL https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz
URL_HASH SHA256=0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406)
FetchContent_MakeAvailable(cxxopts)
FetchContent_MakeAvailable(nlohmann_json)
find_package(OpenVINO REQUIRED COMPONENTS Runtime)
# end of dependencies
set(TARGET_NAME continuous_batching_accuracy)
add_executable(${TARGET_NAME} ${TARGET_NAME}.cpp)
target_link_libraries(${TARGET_NAME} PRIVATE openvino::genai cxxopts::cxxopts)