mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
37 lines
1.6 KiB
Plaintext
37 lines
1.6 KiB
Plaintext
|
#!/usr/bin/env python
|
||
|
|
||
|
Import("env_mod")
|
||
|
Import("env")
|
||
|
|
||
|
env_mod.core_sources = []
|
||
|
|
||
|
env_mod.add_source_files(env_mod.core_sources, "drogon/lib/src/*.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "drogon/lib/src/ssl_funcs/*.cc")
|
||
|
|
||
|
env_mod.add_source_files(env_mod.core_sources, "drogon/orm_lib/src/*.cc")
|
||
|
|
||
|
if env.mysql_available:
|
||
|
env_mod.add_source_files(env_mod.core_sources, "drogon/orm_lib/src/mysql_impl/*.cc")
|
||
|
#env_mod.add_source_files(env_mod.core_sources, "drogon/orm_lib/src/postgresql_impl/*.cc")
|
||
|
#env_mod.add_source_files(env_mod.core_sources, "drogon/orm_lib/src/sqlite3_impl/*.cc")
|
||
|
|
||
|
#todo detect
|
||
|
#env_mod.add_source_files(env_mod.core_sources, "drogon/nosql_lib/redis/src/*.cc")
|
||
|
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/net/*.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/net/inner/*.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/net/inner/poller/*.cc")
|
||
|
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/AsyncFileLogger.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/ConcurrentTaskQueue.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/Date.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/Logger.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/LogStream.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/MsgBuffer.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/SerialTaskQueue.cc")
|
||
|
env_mod.add_source_files(env_mod.core_sources, "trantor/utils/TimingWheel.cc")
|
||
|
|
||
|
# Build it all as a library
|
||
|
lib = env_mod.add_library("drogon", env_mod.core_sources)
|
||
|
env.Prepend(LIBS=[lib])
|