Hunter user¶
Uploading binaries¶
It’s possible to upload local Cache
directory with binaries to server
for future reuse.
Variables and modules related to uploading:
- List of servers that will be used for downloading binaries can be set in HUNTER_CACHE_SERVERS variable
- If you want to check that there is no third party builds triggered by CMake and all packages downloaded from server you can use HUNTER_DISABLE_BUILDS variable
- Variable HUNTER_USE_CACHE_SERVERS can be used to specify downloading policy
- Uploading parameters can be set using hunter_upload_password module in Hunter passwords file
- Use HUNTER_RUN_UPLOAD=YES option to start upload procedure
Warning
All entries from Cache
directory will be uploaded, not only cache for
the current build. Take this information into account while doing upload!
TODO¶
- add more find_packages
- add toolchain-id flags
- add hunter_add_package
- custom configs
- add package
- -> CGold