forked from cryptonotefoundation/cryptonote
-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
603 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Cable: CMake Bootstrap Library. | ||
# Copyright 2018 Pawel Bylica. | ||
# Licensed under the Apache License, Version 2.0. See the LICENSE file. | ||
|
||
# Hunter passwords file used by HunterCacheServers.cmake. | ||
# Do not include directly. | ||
|
||
hunter_upload_password( | ||
# REPO_OWNER + REPO = https://github.com/letheanVPN/hunter-cache | ||
REPO_OWNER letheanVPN | ||
REPO hunter-cache | ||
|
||
# USERNAME = https://github.com/snider | ||
USERNAME snider | ||
|
||
# PASSWORD = GitHub token saved as a secure environment variable | ||
PASSWORD "$ENV{HUNTER_CACHE_TOKEN}" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Cable: CMake Bootstrap Library. | ||
# Copyright 2018 Pawel Bylica. | ||
# Licensed under the Apache License, Version 2.0. See the LICENSE file. | ||
|
||
# This module, when included, sets default values for params related to | ||
# Hunter cache servers, including upload options. | ||
|
||
# Default Hunter cache servers. | ||
set(HUNTER_CACHE_SERVERS | ||
"https://github.com/letheanVPN/hunter-cache" | ||
CACHE STRING "Hunter cache servers") | ||
|
||
# Default path to Hunter passwords file containing information how to access | ||
# Ethereum's cache server. | ||
set(HUNTER_PASSWORDS_PATH | ||
${CMAKE_CURRENT_LIST_DIR}/HunterCacheServers-passwords.cmake | ||
CACHE STRING "Hunter passwords file") | ||
|
||
# In CI builds upload the binaries if the HUNTER_CACHE_TOKEN was decrypted | ||
# (only for branches and internal PRs). | ||
if(NOT "$ENV{HUNTER_CACHE_TOKEN}" STREQUAL "") | ||
set(run_upload YES) | ||
else() | ||
set(run_upload NO) | ||
endif() | ||
option(HUNTER_RUN_UPLOAD "Upload binaries to the Hunter cache server" ${run_upload}) | ||
unset(run_upload) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hunter_config(Boost VERSION 1.58.0 CMAKE_ARGS USE_CONFIG_FROM_BOOST=ON) |
Oops, something went wrong.