forked from lenkd/avogadro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
avogadro.prf.in
27 lines (21 loc) · 848 Bytes
/
avogadro.prf.in
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
AVOGADRO_PREFIX = "@USER_PREFIX@"
OPENBABEL_PREFIX = "@OPENBABEL2_INCLUDE_DIR@/../.."
INCLUDEPATH += . \
"$$AVOGADRO_PREFIX/include" \
"@OPENBABEL2_INCLUDE_DIR@ \
"@EIGEN2_INCLUDE_DIR@"
LIBS += -L"$$AVOGADRO_PREFIX/lib" -lavogadro \
-L"$$OPENBABEL_PREFIX/lib" -lopenbabel
unix {
manifest_.target = $$eval(TARGET).mf
manifest_.commands = avopkg -wizard $(QMAKE_TARGET)
manifest_.depends = first
manifest.depends = $$eval(TARGET).mf
package_.target = $$eval(TARGET).avo
package_.commands = avopkg -pack $$eval(TARGET).mf
#package_.depends = $$eval(TARGET).mf
package.depends = $$eval(TARGET).avo
install.commands = avopkg $$eval(TARGET).avo
install.depends = $$eval(TARGET).avo
QMAKE_EXTRA_TARGETS += manifest_ manifest package_ package install
}