• Maksim Shabunin's avatar
    cmake: function for application creation (#11736) · a2bc0759
    Maksim Shabunin authored
    * apps: add Win32 friendly opencv_version app
    
    Improve experience of launching app from explorer:
    - application just flash (open/close) the console window
    Suggested Win32 application flavor additionally shows MessageBox
    and waits for User interaction.
    
    * cmake: added unified application creation function
    a2bc0759
CMakeLists.txt 272 Bytes
set(DEPS opencv_core opencv_imgproc opencv_features2d opencv_highgui opencv_calib3d opencv_videoio)
if(${BUILD_opencv_aruco})
    list(APPEND DEPS opencv_aruco)
endif()
file(GLOB SRCS *.cpp)
ocv_add_application(opencv_interactive-calibration MODULES ${DEPS} SRCS ${SRCS})