Skip to content

Commit

Permalink
add opencv configer
Browse files Browse the repository at this point in the history
  • Loading branch information
hschhh666 committed Jul 23, 2019
1 parent ba4f7a2 commit 5a3f86f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions OpencvConfiger/opencvHeader.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#pragma once


#include <opencv2/opencv.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/core.hpp>

#if _DEBUG
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_highgui2413d.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_imgproc2413d.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_core2413d.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_calib3d2413d.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_contrib2413d.lib")

#else
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_highgui2413.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_imgproc2413.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_core2413.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_contrib2413.lib")
#pragma comment(lib, "C:/opencv2/opencv/build/x86/vc14/lib/opencv_calib3d2413.lib")
#endif

0 comments on commit 5a3f86f

Please sign in to comment.