mirror of https://github.com/status-im/evmc.git
CMake: Move Hunter config to its own file, cache Hunter on AppVeyor CI
This commit is contained in:
parent
aaab43e034
commit
3c7ffaac82
|
@ -21,13 +21,7 @@ include(HunterGate)
|
|||
include(GNUInstallDirs)
|
||||
include(defaults/HunterCacheServers)
|
||||
|
||||
# Setup Hunter.
|
||||
# Hunter is going to be initialized only if building with tests,
|
||||
# where it is needed to get dependencies.
|
||||
HunterGate(
|
||||
URL "https://github.com/ruslo/hunter/archive/v0.20.37.tar.gz"
|
||||
SHA1 "51886d10428c924cc21756abc17623bcf4986386"
|
||||
)
|
||||
include(HunterConfig)
|
||||
|
||||
project(evmc)
|
||||
set(PROJECT_VERSION "0.1.0.dev0")
|
||||
|
|
|
@ -16,6 +16,8 @@ environment:
|
|||
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
||||
GENERATOR: "Visual Studio 14 2015 Win64"
|
||||
cache:
|
||||
- C:\.hunter\_Base\Cache -> cmake\HunterConfig.cmake
|
||||
|
||||
before_build: |
|
||||
if not exist build mkdir build
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
# EVMC: Ethereum Client-VM Connector API.
|
||||
# Copyright 2018 Pawel Bylica.
|
||||
# Licensed under the MIT License. See the LICENSE file.
|
||||
|
||||
# Setup Hunter.
|
||||
# Hunter is going to be initialized only if building with tests,
|
||||
# where it is needed to get dependencies.
|
||||
HunterGate(
|
||||
URL "https://github.com/ruslo/hunter/archive/v0.20.37.tar.gz"
|
||||
SHA1 "51886d10428c924cc21756abc17623bcf4986386"
|
||||
)
|
Loading…
Reference in New Issue