-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharango_test.pro
More file actions
67 lines (53 loc) · 1.36 KB
/
arango_test.pro
File metadata and controls
67 lines (53 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
TEMPLATE = app
CONFIG += thread console
CONFIG -= app_bundle
CONFIG -= qt
CONFIG += c++2a
DEFINES += TestRemoteServer
!win32 {
DEFINES += TestLocalServer
DEFINES += __unix
}
macx-g++ {
DEFINES += __APPLE__
}
macx-clang {
DEFINES += __APPLE__
INCLUDEPATH += "/usr/local/include"
DEPENDPATH += "/usr/local/include"
LIBPATH += "/usr/local/lib/"
}
win32 {
#CONFIG += staticlib
#QMAKE_CXXFLAGS_DEBUG += -MTd
INCLUDEPATH += "C:\usr\local\include"
DEPENDPATH += "C:\usr\local\include"
LIBPATH += "C:\usr\local\lib"
}
# Define the directory where source code is located
ARANGO_DIR = $$PWD/src
ARANGO_HEADERS_DIR = $$ARANGO_DIR/../include
TESTS_DIR = $$PWD/tests
DEPENDPATH += $$ARANGO_DIR
DEPENDPATH += $$ARANGO_HEADERS_DIR
DEPENDPATH += $$TESTS_DIR
INCLUDEPATH += $$ARANGO_DIR
INCLUDEPATH += $$ARANGO_HEADERS_DIR
INCLUDEPATH += $$TESTS_DIR
LIBS += -lvelocypack
win32:LIBS += -llibcurl
!win32:LIBS += -lcurl
OBJECTS_DIR = obj
include($$TESTS_DIR/gtest_dependency.pri)
include($$ARANGO_DIR/arango-cpp.pri)
HEADERS += \
$$TESTS_DIR/init_tests.h \
$$TESTS_DIR/tst_arango.h \
$$TESTS_DIR/tst_collection_api.h \
$$TESTS_DIR/tst_query_api.h \
$$TESTS_DIR/tst_root_api.h \
$$TESTS_DIR/tst_graph_api.h
SOURCES += \
$$TESTS_DIR/main.cpp
DISTFILES += \
Resources/docs/source.md