cmake_minimum_required(VERSION 3.5)

project(demo LANGUAGES CXX C)

set(CMAKE_CXX_STANDARD 17)

find_package(PkgConfig REQUIRED)
pkg_check_modules(UUID REQUIRED IMPORTED_TARGET uuid)

add_executable(client-milvus milvus.cpp)
target_link_libraries(client-milvus PUBLIC kysdk-vector-engine-client PUBLIC PkgConfig::UUID)

add_executable(client-schema exampleSchema.cpp)
target_link_libraries(client-schema PUBLIC kysdk-vector-engine-client)

add_executable(client-example example.cpp example.h)
target_link_libraries(client-example PUBLIC kysdk-vector-engine-client)

add_executable(client-test test.cpp)
target_link_libraries(client-test PUBLIC kysdk-vector-engine-client)
