# this is the build file for project 
# it is autogenerated by the xmake build system.
# do not edit by hand.

# project
cmake_minimum_required(VERSION 3.15.0)
cmake_policy(SET CMP0091 NEW)
project(detect LANGUAGES CXX CUDA)

# target
add_executable(detect "")
set_target_properties(detect PROPERTIES OUTPUT_NAME "detect")
set_target_properties(detect PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/build/linux/x86_64/release")
target_include_directories(detect PRIVATE
    /home/TensorRT-YOLO/include
    /home/TensorRT-YOLO/include
    /usr/local/cuda/include
)
target_include_directories(detect SYSTEM PRIVATE
    /home/laugh/.xmake/packages/o/opencv/4.9.0/1da15ca47abb49738188ca51cf591e44/include/opencv4
    /home/laugh/.xmake/packages/f/ffmpeg/6.1/a22c8e3a23d6487ab1d84fda709a103d/include
    /home/laugh/.xmake/packages/c/cli11/v2.4.1/9bb9e342af314b5a8eb896f12be78a27/include
)
target_compile_options(detect PRIVATE
    $<$<COMPILE_LANGUAGE:C>:-m64>
    $<$<COMPILE_LANGUAGE:CXX>:-m64>
    $<$<COMPILE_LANGUAGE:C>:-DNDEBUG>
    $<$<COMPILE_LANGUAGE:CXX>:-DNDEBUG>
    $<$<COMPILE_LANGUAGE:CUDA>:-m64>
    $<$<COMPILE_LANGUAGE:CUDA>:-rdc=true>
    $<$<COMPILE_LANGUAGE:CUDA>:-gencode arch=compute_75,code=sm_75>
)
set_target_properties(detect PROPERTIES CXX_EXTENSIONS OFF)
target_compile_features(detect PRIVATE cxx_std_17)
if(MSVC)
    target_compile_options(detect PRIVATE $<$<CONFIG:Release>:-Ox -fp:fast>)
else()
    target_compile_options(detect PRIVATE -O3)
endif()
if(MSVC)
else()
    target_compile_options(detect PRIVATE -fvisibility=hidden)
endif()
if(MSVC)
    set_property(TARGET detect PROPERTY
        MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
endif()
target_link_libraries(detect PRIVATE
    deploy
    nvinfer
    nvinfer_plugin
    nvparsers
    nvonnxparser
    opencv_phase_unwrapping
    opencv_surface_matching
    opencv_saliency
    opencv_wechat_qrcode
    opencv_mcc
    opencv_face
    opencv_img_hash
    opencv_videostab
    opencv_structured_light
    opencv_intensity_transform
    opencv_ccalib
    opencv_line_descriptor
    opencv_stereo
    opencv_dnn_objdetect
    opencv_dnn_superres
    opencv_fuzzy
    opencv_hfs
    opencv_rapid
    opencv_bgsegm
    opencv_bioinspired
    opencv_rgbd
    opencv_dpm
    opencv_aruco
    opencv_reg
    opencv_tracking
    opencv_datasets
    opencv_xfeatures2d
    opencv_shape
    opencv_superres
    opencv_plot
    opencv_quality
    opencv_text
    opencv_optflow
    opencv_ximgproc
    opencv_xobjdetect
    opencv_xphoto
    opencv_stitching
    opencv_ml
    opencv_photo
    opencv_gapi
    opencv_objdetect
    opencv_highgui
    opencv_videoio
    opencv_video
    opencv_calib3d
    opencv_dnn
    opencv_features2d
    opencv_flann
    opencv_imgcodecs
    opencv_imgproc
    opencv_core
    ade
    quirc
    libprotobuf
    libwebp
    zlib
    libtiff
    libpng
    libjpeg-turbo
    avfilter
    avdevice
    avformat
    avcodec
    swscale
    swresample
    avutil
    z
    cudadevrt
    cudart_static
    rt
    pthread
    dl
)
target_link_directories(detect PRIVATE
    /home/projects/TensorRT-YOLO/lib
    /home/TensorRT-YOLO/lib
    /usr/local/cuda/lib64
    /home/laugh/.xmake/packages/o/opencv/4.9.0/1da15ca47abb49738188ca51cf591e44/lib
    /home/laugh/.xmake/packages/o/opencv/4.9.0/1da15ca47abb49738188ca51cf591e44/lib/opencv4/3rdparty
    /home/laugh/.xmake/packages/f/ffmpeg/6.1/a22c8e3a23d6487ab1d84fda709a103d/lib
)
target_link_options(detect PRIVATE
    -m64
    -Wl,-Bsymbolic
)
target_sources(detect PRIVATE
    detect.cpp
)

