mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2024-11-25 00:53:43 +00:00
Move db locate functions to the postgresql backend lib.
This commit is contained in:
parent
45ecdb9a2b
commit
641261306f
5 changed files with 4 additions and 3 deletions
|
@ -3,6 +3,7 @@ project(${bare_name}-backend-postgresql CXX)
|
|||
add_library(${PROJECT_NAME} STATIC
|
||||
tag.cpp
|
||||
delete.cpp
|
||||
locate.cpp
|
||||
)
|
||||
|
||||
#target_include_directories(${PROJECT_NAME}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "postgre_locate.hpp"
|
||||
#include "backends/postgresql/locate.hpp"
|
||||
#include "pq/connection.hpp"
|
||||
#include "dindexer-machinery/tiger.hpp"
|
||||
#include <utility>
|
|
@ -3,7 +3,6 @@ project(${bare_name}-locate CXX)
|
|||
add_executable(${PROJECT_NAME}
|
||||
main.cpp
|
||||
commandline.cpp
|
||||
postgre_locate.cpp
|
||||
hash.cpp
|
||||
)
|
||||
|
||||
|
@ -17,6 +16,7 @@ target_link_libraries(${PROJECT_NAME}
|
|||
PRIVATE ${bare_name}-common
|
||||
PRIVATE ${bare_name}-machinery
|
||||
PRIVATE glob2regex
|
||||
PRIVATE ${bare_name}-backend-postgresql
|
||||
)
|
||||
|
||||
string(REPLACE "${bare_name}-" "" ACTION_NAME "${PROJECT_NAME}")
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
#include "commandline.hpp"
|
||||
#include "postgre_locate.hpp"
|
||||
#include "backends/postgresql/locate.hpp"
|
||||
#include "dindexer-common/settings.hpp"
|
||||
#include "dindexer-common/split_tags.hpp"
|
||||
#include "dindexerConfig.h"
|
||||
|
|
Loading…
Reference in a new issue