CMakeLists.txt: Reorder so database is first to build
This commit is contained in:
parent
cd6b574141
commit
dab74132f2
1 changed files with 15 additions and 13 deletions
|
|
@ -2,6 +2,21 @@ file(GLOB HEADERS "include/graphene/chain/*.hpp")
|
|||
|
||||
## SORT .cpp by most likely to change / break compile
|
||||
add_library( graphene_chain
|
||||
|
||||
# As database takes the longest to compile, start it first
|
||||
database.cpp
|
||||
|
||||
# db_balance.cpp
|
||||
# db_block.cpp
|
||||
# db_debug.cpp
|
||||
# db_getter.cpp
|
||||
# db_init.cpp
|
||||
# db_maint.cpp
|
||||
# db_management.cpp
|
||||
# db_market.cpp
|
||||
# db_update.cpp
|
||||
# db_witness_schedule.cpp
|
||||
|
||||
protocol/types.cpp
|
||||
protocol/address.cpp
|
||||
protocol/asset.cpp
|
||||
|
|
@ -49,19 +64,6 @@ add_library( graphene_chain
|
|||
fork_database.cpp
|
||||
block_database.cpp
|
||||
|
||||
database.cpp
|
||||
|
||||
# db_balance.cpp
|
||||
# db_block.cpp
|
||||
# db_debug.cpp
|
||||
# db_getter.cpp
|
||||
# db_init.cpp
|
||||
# db_maint.cpp
|
||||
# db_management.cpp
|
||||
# db_market.cpp
|
||||
# db_update.cpp
|
||||
# db_witness_schedule.cpp
|
||||
|
||||
${HEADERS}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue