cmake_minimum_required(VERSION 3.0.0)

find_package(HailoRT 4.14.0 EXACT REQUIRED)

add_executable(cpp_infer_pipeline_example infer_pipeline_example.cpp)
target_link_libraries(cpp_infer_pipeline_example PRIVATE HailoRT::libhailort)

if(WIN32)
    target_compile_options(cpp_infer_pipeline_example PRIVATE
        /DWIN32_LEAN_AND_MEAN
        /DNOMINMAX                  # NOMINMAX is required in order to play nice with std::min/std::max (otherwise Windows.h defines it's own)
        /wd4201 /wd4251
    )
endif()

set_target_properties(cpp_infer_pipeline_example PROPERTIES CXX_STANDARD 14)
