2020-11-28 14:30:50 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
Import("env_db")
|
2020-12-01 15:28:59 +01:00
|
|
|
Import("env")
|
2020-11-28 14:30:50 +01:00
|
|
|
|
|
|
|
env_db.core_sources = []
|
|
|
|
|
|
|
|
env_db.add_source_files(env_db.core_sources, "*.cpp")
|
2020-12-08 13:29:57 +01:00
|
|
|
env_db.core_sources.append("./sqlite/sqlite3.c")
|
2020-11-28 14:30:50 +01:00
|
|
|
|
|
|
|
# Build it all as a library
|
2020-12-26 17:48:26 +01:00
|
|
|
lib = env_db.add_library("database_sqlite", env_db.core_sources)
|
2020-12-01 15:28:59 +01:00
|
|
|
env.Prepend(LIBS=[lib])
|