cmake: update ocv_download
authorAlexander Alekhin <alexander.alekhin@intel.com>
Tue, 28 Mar 2017 15:21:13 +0000 (18:21 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Thu, 30 Mar 2017 19:36:33 +0000 (19:36 +0000)
commita7de4aca6ab096aa99a57b301875bc16760f37d1
tree2e7146cace5218cd83752bd3d8ea0b313b47b5cf
parentf34b2f7b8d10271d0e16bcab174bdacd51365f4f
cmake: update ocv_download

- more aggressive cache for files under CMAKE_BINARY_CACHE
  * don't re-read files MD5
  * don't repack archives
- add support for ENV{OPENCV_DOWNLOAD_PATH}
- added ID parameter as project/group identifier
- non-flat .cache directory (based on ID)
- download message prefix based on ID
- more detailed logging via ocv_download_log() macro
- force .gitignore file for .cache folder (with '*' pattern)
.gitignore
3rdparty/ffmpeg/ffmpeg.cmake
3rdparty/ippicv/ippicv.cmake
3rdparty/tbb/CMakeLists.txt
cmake/OpenCVDownload.cmake