mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-29 01:33:46 +00:00
Move db scan functions to the postgresql backend lib.
This commit is contained in:
parent
641261306f
commit
b6d45eee3c
5 changed files with 4 additions and 3 deletions
|
@ -4,6 +4,7 @@ add_library(${PROJECT_NAME} STATIC
|
|||
tag.cpp
|
||||
delete.cpp
|
||||
locate.cpp
|
||||
scan.cpp
|
||||
)
|
||||
|
||||
#target_include_directories(${PROJECT_NAME}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "dbbackend.hpp"
|
||||
#include "backends/postgresql/scan.hpp"
|
||||
#include "pq/connection.hpp"
|
||||
#include "dindexer-common/settings.hpp"
|
||||
#include "dindexer-machinery/recorddata.hpp"
|
|
@ -4,7 +4,6 @@ include(WithMediaAutodetect)
|
|||
|
||||
add_executable(${PROJECT_NAME}
|
||||
main.cpp
|
||||
dbbackend.cpp
|
||||
commandline.cpp
|
||||
)
|
||||
|
||||
|
@ -16,6 +15,7 @@ target_link_libraries(${PROJECT_NAME}
|
|||
PRIVATE ${bare_name}-if
|
||||
PRIVATE ${bare_name}-common
|
||||
PRIVATE ${bare_name}-machinery
|
||||
PRIVATE ${bare_name}-backend-postgresql
|
||||
)
|
||||
|
||||
string(REPLACE "${bare_name}-" "" ACTION_NAME "${PROJECT_NAME}")
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "dindexer-common/common_info.hpp"
|
||||
#include "dindexer-common/settings.hpp"
|
||||
#include "commandline.hpp"
|
||||
#include "dbbackend.hpp"
|
||||
#include "backends/postgresql/scan.hpp"
|
||||
#include "dindexer-machinery/scantask/dirtree.hpp"
|
||||
#include "dindexer-machinery/scantask/mediatype.hpp"
|
||||
#include "dindexer-machinery/scantask/hashing.hpp"
|
||||
|
|
Loading…
Reference in a new issue