Skip to content

Commit

Permalink
Merge pull request graft-project#72 from graft-project/disable_supernode
Browse files Browse the repository at this point in the history
Disable supernode for Mac OS
  • Loading branch information
laid37 authored Jan 20, 2018
2 parents 920f8bf + 02095f6 commit 52e0976
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ cmake_minimum_required(VERSION 2.8.7)

project(graftnetwork)

set(DISABLE_SUPERNODE ${APPLE})

function (die msg)
if (NOT WIN32)
string(ASCII 27 Esc)
Expand Down
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@ if(NOT IOS)
add_subdirectory(rpc)
endif()
add_subdirectory(wallet)
if (NOT DISABLE_SUPERNODE)
add_subdirectory(supernode)
endif()
if(NOT IOS)
add_subdirectory(p2p)
endif()
Expand Down
4 changes: 4 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,16 @@ add_subdirectory(crypto)
add_subdirectory(functional_tests)
add_subdirectory(performance_tests)
add_subdirectory(core_proxy)
if (NOT DISABLE_SUPERNODE)
add_subdirectory(unit_tests)
endif()
add_subdirectory(difficulty)
add_subdirectory(hash)
add_subdirectory(net_load_tests)
add_subdirectory(libwallet_api_tests)
if (NOT DISABLE_SUPERNODE)
add_subdirectory(supernode_tests)
endif()

# add_subdirectory(daemon_tests)

Expand Down

0 comments on commit 52e0976

Please sign in to comment.