mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Removed a few leftover orm lib settings from the build system.
This commit is contained in:
parent
d844b2419f
commit
b6e75b8fa5
@ -8,16 +8,6 @@ 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")
|
||||
|
@ -61,27 +61,8 @@ def configure(env):
|
||||
|
||||
if not err:
|
||||
env.ParseConfig("pkg-config libcares --cflags --libs")
|
||||
|
||||
#env.Append(CXX=["-std=c++17"])
|
||||
|
||||
mariadb_error = os.system("pkg-config mariadb --modversion --silence-errors > /dev/null ")
|
||||
mysql_error = os.system("pkg-config mysql --modversion --silence-errors > /dev/null ")
|
||||
|
||||
if not mariadb_error:
|
||||
env.ParseConfig("pkg-config mariadb --cflags --libs")
|
||||
# env.Append(CPPDEFINES=["USE_MYSQL"])
|
||||
env.mysql_available = True
|
||||
|
||||
if not mysql_error:
|
||||
env.ParseConfig("pkg-config mysql --cflags --libs")
|
||||
# env.Append(CPPDEFINES=["USE_MYSQL"])
|
||||
env.mysql_available = True
|
||||
|
||||
#USE_SQLITE3
|
||||
|
||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/lib/inc"])
|
||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/orm_lib/inc"])
|
||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/nosql_lib/redis/inc"])
|
||||
env.Prepend(CPPPATH=["#modules/drogon/drogon/config"])
|
||||
env.Prepend(CPPPATH=["#modules/drogon"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user