-
Notifications
You must be signed in to change notification settings - Fork 3
/
chemicalfun_test.pro
58 lines (41 loc) · 1.08 KB
/
chemicalfun_test.pro
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
TEMPLATE = app
CONFIG += thread console c++17
CONFIG -= app_bundle
CONFIG -= qt
#QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15
!win32 {
DEFINES += __unix
}
macx-g++ {
DEFINES += __APPLE__
}
macx-clang {
DEFINES += __APPLE__
INCLUDEPATH += "/usr/local/include"
DEPENDPATH += "/usr/local/include"
LIBPATH += "/usr/local/lib/"
}
win32 {
INCLUDEPATH += "C:\usr\local\include"
DEPENDPATH += "C:\usr\local\include"
LIBPATH += "C:\usr\local\lib"
}
# Define the directory where source code is located
CHEMICALFUN_DIR = $$PWD/src
CHEMICALFUN_HEADERS_DIR = $$PWD/include
TESTS_DIR = $$PWD/tests
DEPENDPATH += $$CHEMICALFUN_DIR
DEPENDPATH += $$CHEMICALFUN_HEADERS_DIR
DEPENDPATH += $$TESTS_DIR
INCLUDEPATH += $$CHEMICALFUN_DIR
INCLUDEPATH += $$CHEMICALFUN_HEADERS_DIR
INCLUDEPATH += $$TESTS_DIR
OBJECTS_DIR = obj
include($$TESTS_DIR/gtest_dependency.pri)
include($$CHEMICALFUN_DIR/chemicalfun.pri)
HEADERS += \
$$TESTS_DIR/tst_parser.h \
$$TESTS_DIR/tst_elements.h \
$$TESTS_DIR/tst_generator.h
SOURCES += \
$$TESTS_DIR/main.cpp