Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Unify db_*.cpp files
Browse files Browse the repository at this point in the history
All the db_*.cpp sources are now merged together in database.cpp again.
  • Loading branch information
nathanielhourt committed Apr 6, 2017
1 parent 0e43c70 commit f414fe0
Show file tree
Hide file tree
Showing 10 changed files with 1,046 additions and 1,299 deletions.
22 changes: 1 addition & 21 deletions libraries/chain/CMakeLists.txt
Expand Up @@ -2,29 +2,9 @@
file(GLOB HEADERS "include/eos/chain/*.hpp")
file(GLOB PROTOCOL_HEADERS "include/eos/chain/protocol/*.hpp")

if( EOS_DISABLE_UNITY_BUILD )
set( EOS_DB_FILES
db_block.cpp
db_debug.cpp
db_getter.cpp
db_init.cpp
db_maint.cpp
db_management.cpp
db_update.cpp
db_producer_schedule.cpp
)
message( STATUS "Eos database unity build disabled" )
else( EOS_DISABLE_UNITY_BUILD )
set( EOS_DB_FILES
database.cpp )
message( STATUS "Eos database unity build enabled" )
endif( EOS_DISABLE_UNITY_BUILD )

## SORT .cpp by most likely to change / break compile
add_library( eos_chain

# As database takes the longest to compile, start it first
${EOS_DB_FILES}
database.cpp
fork_database.cpp

protocol/types.cpp
Expand Down

0 comments on commit f414fe0

Please sign in to comment.