Skip to content

Commit

Permalink
Disable unused features in OpenCV build
Browse files Browse the repository at this point in the history
We actually only require a very basic OpenCV setup. Disabling
the unused features speeds up the OpenCV build considerably.
  • Loading branch information
nitsch authored and birarda committed Apr 16, 2015
1 parent 45a8176 commit d9cc929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.win32
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ IMPORTANT: Get the right MinGW version!

mkdir build
cd build
cmake .. -G "MinGW Makefiles" -DBUILD_SHARED_LIBS=0
cmake .. -G "MinGW Makefiles" -DBUILD_DOCS=0 -DBUILD_PACKAGE=0 -DBUILD_PERF_TESTS=0 -DBUILD_SHARED_LIBS=0 -DBUILD_TESTS=0 -DBUILD_opencv_apps=0 -DBUILD_opencv_calib3d=0 -DBUILD_opencv_contrib=0 -DBUILD_opencv_features2d=0 -DBUILD_opencv_flann=0 -DBUILD_opencv_gpu=0 -DBUILD_opencv_java=0 -DBUILD_opencv_legacy=0 -DBUILD_opencv_ml=0 -DBUILD_opencv_nonfree=0 -DBUILD_opencv_objdetect=0 -DBUILD_opencv_ocl=0 -DBUILD_opencv_photo=0 -DBUILD_opencv_python=0 -DBUILD_opencv_stitching=0 -DBUILD_opencv_superres=0 -DBUILD_opencv_ts=0 -DBUILD_opencv_video=0 -DBUILD_opencv_videostab=0 -DBUILD_opencv_world=0 -DWITH_FFMPEG=0 -DWITH_JASPER=0 -DWITH_OPENEXR=0 -DWITH_TIFF=0

4. Build and install OpenCV

Expand Down

0 comments on commit d9cc929

Please sign in to comment.