mirror of
https://github.com/Relintai/rcpp_fw_static.git
synced 2024-11-20 21:37:18 +01:00
14 lines
301 B
Plaintext
14 lines
301 B
Plaintext
|
#!/usr/bin/env python
|
||
|
|
||
|
Import("env_db")
|
||
|
Import("env")
|
||
|
|
||
|
env_db.core_sources = []
|
||
|
|
||
|
env_db.add_source_files(env_db.core_sources, "*.cpp")
|
||
|
env_db.core_sources.append("./sqlite/sqlite3.c")
|
||
|
|
||
|
# Build it all as a library
|
||
|
lib = env_db.add_library("database_pgsql", env_db.core_sources)
|
||
|
env.Prepend(LIBS=[lib])
|