mirror of
https://github.com/opencv/opencv.git
synced 2024-11-26 20:20:20 +08:00
a2bc075924
* 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
6 lines
311 B
CMake
6 lines
311 B
CMake
ocv_warnings_disable(CMAKE_CXX_FLAGS -Woverloaded-virtual -Winconsistent-missing-override -Wsuggest-override)
|
|
file(GLOB SRCS *.cpp)
|
|
ocv_add_application(opencv_traincascade
|
|
MODULES opencv_core opencv_imgproc opencv_objdetect opencv_imgcodecs opencv_highgui opencv_calib3d opencv_features2d
|
|
SRCS ${SRCS})
|