text: #pragma once
  
  // version
  #define CV_VERSION_STR CVAUX_STR(CV_MAJOR_VERSION) CVAUX_STR(CV_MINOR_VERSION) CVAUX_STR(CV_SUBMINOR_VERSION)
  
  // build mode
  #ifdef _DEBUG
  #define CV_EXT_STR "d.lib"
  #else
  #define CV_EXT_STR ".lib"
  #endif
  
  
  // comment out unnecessary libs
  #pragma comment(lib, "opencv_calib3d" CV_VERSION_STR CV_EXT_STR)
  #pragma comment(lib, "opencv_core"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_features2d" CV_VERSION_STR CV_EXT_STR)
  #pragma comment(lib, "opencv_highgui"  CV_VERSION_STR CV_EXT_STR)
  #pragma comment(lib, "opencv_imgproc"  CV_VERSION_STR CV_EXT_STR)
  #pragma comment(lib, "opencv_imgcodecs"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_ml"    CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_objdetect"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_photo"  CV_VERSION_STR CV_EXT_STR)
  
  //#pragma comment(lib, "opencv_stitching"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_superres"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_ts"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_superres"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_video"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_videoio"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_videostab"  CV_VERSION_STR CV_EXT_STR)
  
  //#pragma comment(lib, "opencv_gpu"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_flann"    CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_ffmpeg"   CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_ts"    CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_contrib"  CV_VERSION_STR CV_EXT_STR)
  //#pragma comment(lib, "opencv_legacy"   CV_VERSION_STR CV_EXT_STR)
  