forked from bcosorg/bcos
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 1a46b5f
Showing
2,307 changed files
with
243,022 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Prerequisites | ||
*.d | ||
|
||
# Compiled Object files | ||
*.slo | ||
*.lo | ||
*.o | ||
*.obj | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Compiled Dynamic libraries | ||
*.so | ||
*.dylib | ||
*.dll | ||
|
||
# Fortran module files | ||
*.mod | ||
*.smod | ||
|
||
# Compiled Static libraries | ||
*.lai | ||
*.la | ||
*.a | ||
*.lib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
|
||
# java | ||
*.class | ||
|
||
|
||
# ignore some directory | ||
build | ||
build/** | ||
deps | ||
deps/** | ||
libraftseal.bak | ||
libraftseal.bak/** | ||
tool/java/web3j-v2.1.0_src/bin | ||
tool/java/web3j-v2.1.0_src/bin/** | ||
tool/java/JuDfsSDK/bin | ||
tool/java/JuDfsSDK/bin/** | ||
|
||
|
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,95 @@ | ||
#------------------------------------------------------------------------------ | ||
# Top-level CMake file for cpp-ethereum. | ||
# | ||
# The documentation for cpp-ethereum is hosted at http://cpp-ethereum.org | ||
# | ||
# ------------------------------------------------------------------------------ | ||
# This file is part of cpp-ethereum. | ||
# | ||
# cpp-ethereum is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# cpp-ethereum is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with cpp-ethereum. If not, see <http://www.gnu.org/licenses/> | ||
# | ||
# (c) 2014-2016 cpp-ethereum contributors. | ||
#------------------------------------------------------------------------------ | ||
|
||
cmake_minimum_required(VERSION 3.0.0) | ||
|
||
set(ETH_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/cmake" CACHE PATH "The path to the cmake directory") | ||
list(APPEND CMAKE_MODULE_PATH ${ETH_CMAKE_DIR}) | ||
|
||
set(CPP_ETHEREUM_DIR "${CMAKE_CURRENT_LIST_DIR}" CACHE PATH "Path to the root directory for cpp-ethereum") | ||
|
||
# set cmake_policies | ||
include(EthPolicy) | ||
eth_policy() | ||
|
||
# project name and version should be set after cmake_policy CMP0048 | ||
project(cpp-ethereum VERSION "1.3.0") | ||
|
||
if (NOT EXISTS ${CMAKE_SOURCE_DIR}/evmjit/) | ||
message(FATAL_ERROR "Git submodules not initialized, execute:\n git submodule update --init") | ||
endif() | ||
|
||
set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY On) | ||
|
||
include(EthOptions) | ||
include(EthCompilerSettings) | ||
include(EthExecutableHelper) | ||
include(EthDependencies) | ||
include(EthUtils) | ||
|
||
include(ProjectBoost) | ||
include(ProjectCryptopp) | ||
include(ProjectJsonCpp) | ||
include(ProjectJsonRpcCpp) | ||
include(ProjectSecp256k1) | ||
|
||
configure_project(CPUID CURL EVMJIT FATDB MINIUPNPC ROCKSDB PARANOID VMTRACE) | ||
|
||
add_subdirectory(eth) | ||
add_subdirectory(libdevcore) | ||
add_subdirectory(libdevcrypto) | ||
add_subdirectory(libcontract) | ||
add_subdirectory(libsinglepoint) | ||
add_subdirectory(libpbftseal) | ||
add_subdirectory(libraftseal) | ||
add_subdirectory(libpailler) | ||
add_subdirectory(libethcore) | ||
add_subdirectory(libethereum) | ||
add_subdirectory(libevm) | ||
add_subdirectory(libevmcore) | ||
if (NOT EMSCRIPTEN) | ||
add_subdirectory(libp2p) | ||
endif() | ||
add_subdirectory(libweb3jsonrpc) | ||
add_subdirectory(libwebthree) | ||
add_subdirectory(libwhisper) | ||
|
||
add_subdirectory(utils) | ||
|
||
|
||
if (EVMJIT) | ||
add_subdirectory(evmjit) | ||
endif() | ||
|
||
if (TOOLS) | ||
|
||
|
||
if (NOT EMSCRIPTEN) | ||
|
||
|
||
endif() | ||
endif() | ||
|
||
# TODO - split out json_spirit, libscrypt and sec256k1 | ||
|
Oops, something went wrong.