mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-19 10:35:50 +00:00
Update sqlite3 to 3.8.8.2.
This commit is contained in:
22
SConstruct
22
SConstruct
@@ -498,6 +498,7 @@ base.Append(CPPPATH=[
|
||||
'src',
|
||||
os.path.join('src', 'beast'),
|
||||
os.path.join(build_dir, 'proto'),
|
||||
os.path.join('src','soci','src'),
|
||||
])
|
||||
|
||||
# Configure the toolchains, variants, default toolchain, and default target
|
||||
@@ -565,6 +566,18 @@ def list_sources(base, suffixes):
|
||||
yield os.path.normpath(path)
|
||||
return list(_iter(base))
|
||||
|
||||
def add_soci_sources(env, object_builder, is_unity):
|
||||
cpp_path = [
|
||||
'src/soci/src/core',
|
||||
'src/sqlite',]
|
||||
object_builder.add_source_files(
|
||||
'src/ripple/unity/soci.cpp',
|
||||
CPPPATH = cpp_path)
|
||||
if is_unity:
|
||||
object_builder.add_source_files(
|
||||
'src/ripple/unity/soci_ripple.cpp',
|
||||
CPPPATH = cpp_path)
|
||||
|
||||
# Declare the targets
|
||||
aliases = collections.defaultdict(list)
|
||||
msvc_configs = []
|
||||
@@ -594,7 +607,11 @@ for tu_style in ['classic', 'unity']:
|
||||
|
||||
if tu_style == 'classic':
|
||||
object_builder.add_source_files(
|
||||
*list_sources('src/ripple/app', '.cpp'))
|
||||
*list_sources('src/ripple/app', '.cpp'),
|
||||
CPPPATH=[
|
||||
'src/soci/src/core',
|
||||
'src/sqlite',]
|
||||
)
|
||||
object_builder.add_source_files(
|
||||
*list_sources('src/ripple/basics', '.cpp'))
|
||||
object_builder.add_source_files(
|
||||
@@ -622,6 +639,7 @@ for tu_style in ['classic', 'unity']:
|
||||
'src/snappy/snappy',
|
||||
'src/snappy/config',
|
||||
])
|
||||
add_soci_sources(env, object_builder, is_unity = False)
|
||||
else:
|
||||
object_builder.add_source_files(
|
||||
'src/ripple/unity/app.cpp',
|
||||
@@ -646,6 +664,8 @@ for tu_style in ['classic', 'unity']:
|
||||
'src/ripple/unity/legacy.cpp',
|
||||
)
|
||||
|
||||
add_soci_sources(env, object_builder, is_unity = True)
|
||||
|
||||
object_builder.add_source_files(
|
||||
'src/ripple/unity/nodestore.cpp',
|
||||
CPPPATH=[
|
||||
|
||||
Reference in New Issue
Block a user