0
0
mirror of https://github.com/opencv/opencv.git synced 2026-01-18 17:21:42 +01:00

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)
This commit is contained in:
Alexander Alekhin
2017-03-28 18:21:13 +03:00
committed by Alexander Alekhin
parent f34b2f7b8d
commit a7de4aca6a
5 changed files with 103 additions and 18 deletions

1
.gitignore vendored
View File

@@ -3,7 +3,6 @@
*.user
*~
.*.swp
.cache
.DS_Store
.sw[a-z]
Thumbs.db