forked from lthn/blockchain
stops using system cmake for make testnet/mainnet uses cmake 3.11.9
This commit is contained in:
parent
dcda295e1e
commit
0213635773
2 changed files with 8 additions and 2 deletions
6
Makefile
6
Makefile
|
|
@ -72,10 +72,12 @@ CC_DOCKER_FILE?=utils/docker/images/lthn-chain/Dockerfile
|
||||||
all: help
|
all: help
|
||||||
|
|
||||||
testnet:
|
testnet:
|
||||||
cmake --workflow testnet
|
$(MAKE) configure TESTNET=1
|
||||||
|
CONAN_HOME=$(CONAN_CACHE) $(CONAN_EXECUTABLE) build .
|
||||||
|
|
||||||
mainnet:
|
mainnet:
|
||||||
cmake --workflow mainnet
|
$(MAKE) configure TESTNET=0
|
||||||
|
CONAN_HOME=$(CONAN_CACHE) $(CONAN_EXECUTABLE) build .
|
||||||
|
|
||||||
release: docs build
|
release: docs build
|
||||||
(cd $(BUILD_FOLDER) && cpack)
|
(cd $(BUILD_FOLDER) && cpack)
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@ class BlockchainConan(ConanFile):
|
||||||
"boost/*:without_test": True
|
"boost/*:without_test": True
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tool_requires = [
|
||||||
|
"cmake/3.31.9"
|
||||||
|
]
|
||||||
|
|
||||||
requires = [
|
requires = [
|
||||||
"zlib/1.3.1",
|
"zlib/1.3.1",
|
||||||
"boost/1.85.0",
|
"boost/1.85.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue