Moved lowlevel postgresql wrappers to seperate folder and static lib.
This commit is contained in:
parent
869d867191
commit
f7cf93bb9a
12 changed files with 9 additions and 5 deletions
|
|
@ -66,6 +66,13 @@ add_library(core STATIC
|
|||
core/PasswordManager.cpp
|
||||
core/SqlLexer.cpp)
|
||||
|
||||
add_library(pgsql STATIC
|
||||
pgsql/Pgsql_Connection.cpp
|
||||
pgsql/Pgsql_Params.cpp
|
||||
pgsql/Pgsql_Result.cpp
|
||||
pgsql/Pgsql_Row.cpp
|
||||
pgsql/Pgsql_Value.cpp)
|
||||
|
||||
add_executable(pglab
|
||||
pglab/ASyncDBConnection.cpp
|
||||
pglab/ASyncWindow.cpp
|
||||
|
|
@ -94,11 +101,6 @@ add_executable(pglab
|
|||
pglab/PgDatabaseContainer.cpp
|
||||
pglab/PgDatabase.cpp
|
||||
pglab/PgNamespace.cpp
|
||||
pglab/Pgsql_Connection.cpp
|
||||
pglab/Pgsql_Params.cpp
|
||||
pglab/Pgsql_Result.cpp
|
||||
pglab/Pgsql_Row.cpp
|
||||
pglab/Pgsql_Value.cpp
|
||||
pglab/PgTypeContainer.cpp
|
||||
pglab/PgType.cpp
|
||||
pglab/ProcessStdioWidget.cpp
|
||||
|
|
@ -120,10 +122,12 @@ add_executable(pglab
|
|||
|
||||
target_include_directories(pglab PUBLIC
|
||||
./core
|
||||
./pgsql
|
||||
)
|
||||
|
||||
target_link_libraries( pglab
|
||||
core
|
||||
pgsql
|
||||
${Boost_LIBRARIES}
|
||||
Qt5::Widgets
|
||||
${Pq_LIBRARIES}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue