mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Roll back SConstruct to fix proto changes
This commit is contained in:
13
SConstruct
13
SConstruct
@@ -47,10 +47,10 @@ else:
|
||||
#
|
||||
# Put objects files in their own directory.
|
||||
#
|
||||
for dir in ['.', 'ripple', 'database', 'leveldb/db', 'leveldb/port', 'leveldb/include', 'leveldb/table', 'leveldb/util', 'websocketpp']:
|
||||
for dir in ['.', 'ripple', 'database', 'json', 'leveldb/db', 'leveldb/port', 'leveldb/include', 'leveldb/table', 'leveldb/util', 'websocketpp']:
|
||||
VariantDir('build/obj/'+dir, 'src/cpp/'+dir, duplicate=0)
|
||||
|
||||
for dir in [ 'ripple_json', 'ripple_mess', 'ripple_basics', 'ripple_client', 'ripple_db', 'ripple_ledger', 'ripple_main', 'ripple_net' ]:
|
||||
for dir in [ 'ripple_basics', 'ripple_client', 'ripple_db', 'ripple_ledger', 'ripple_main', 'ripple_net' ]:
|
||||
VariantDir('build/obj/'+dir, 'modules/'+dir, duplicate=0)
|
||||
|
||||
# Use openssl
|
||||
@@ -125,9 +125,10 @@ if OSX:
|
||||
if LevelDB:
|
||||
env.Append(CXXFLAGS = [ '-Isrc/cpp/leveldb', '-Isrc/cpp/leveldb/port', '-Isrc/cpp/leveldb/include', '-DUSE_LEVELDB'])
|
||||
|
||||
LEVELDB_SRCS = [ 'src/cpp/leveldb_core.cpp' ]
|
||||
LEVELDB_SRCS = [ 'src/cpp/leveldb_core.cpp' ]
|
||||
|
||||
DB_SRCS = glob.glob('src/cpp/database/*.c') + glob.glob('src/cpp/database/*.cpp')
|
||||
JSON_SRCS = glob.glob('src/cpp/json/*.cpp')
|
||||
|
||||
WEBSOCKETPP_SRCS = [
|
||||
'src/cpp/websocketpp/src/base64/base64.cpp',
|
||||
@@ -157,7 +158,7 @@ for file in UNUSED_SRCS:
|
||||
TAG_SRCS = copy.copy(RIPPLE_SRCS)
|
||||
|
||||
# Add other sources.
|
||||
RIPPLE_SRCS += DB_SRCS + WEBSOCKETPP_SRCS
|
||||
RIPPLE_SRCS += DB_SRCS + JSON_SRCS + WEBSOCKETPP_SRCS
|
||||
|
||||
if LevelDB:
|
||||
RIPPLE_SRCS += LEVELDB_SRCS
|
||||
@@ -173,11 +174,11 @@ RIPPLE_OBJS += PROTO_SRCS
|
||||
|
||||
RIPPLE_OBJS = []
|
||||
|
||||
RIPPLE_OBJS += [ 'src/cpp/database/sqlite3.c' ]
|
||||
RIPPLE_OBJS += [ 'src/cpp/database/sqlite3.c', 'build/proto/ripple.pb.cc' ]
|
||||
|
||||
env.Append(CXXFLAGS = ['-I.', '-Isrc/cpp/ripple'])
|
||||
|
||||
RIPPLE_CORES = [ 'src/cpp/leveldb_core.cpp', 'src/cpp/websocket_core.cpp' ]
|
||||
RIPPLE_CORES = [ 'src/cpp/json_core.cpp', 'src/cpp/leveldb_core.cpp', 'src/cpp/websocket_core.cpp' ]
|
||||
RIPPLE_MODULES = glob.glob('modules/*/*.cpp')
|
||||
|
||||
for file in RIPPLE_MODULES:
|
||||
|
||||
Reference in New Issue
Block a user