File: use_libhimd.pri

package info (click to toggle)
linux-minidisc 0.9.16-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,640 kB
  • sloc: ansic: 6,389; cpp: 2,731; python: 2,537; perl: 866; sh: 207; makefile: 10
file content (23 lines) | stat: -rw-r--r-- 695 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# the QMAKE_LIBDIR thing is a workaround for a bug in qmake on mingw:
# it searches prl files for library dependencies only QMAKE_LIBDIR and
# ignores "-L" parametes in LIBS.

build_pass:CONFIG(debug,debug|release) {
 QMAKE_LIBDIR += ../libhimd/debug
 LIBS += -L../libhimd/debug
}
build_pass:CONFIG(release,debug|release) {
 QMAKE_LIBDIR += ../libhimd/release
 LIBS += -L../libhimd/release
}

# fallback if libhimd was not compiled with
# CONFIG += debug_and_release debug_and_release_target
# while I force debug_and_release_target, it is ignored in a
# just-one-kind build without debug_and_release

QMAKE_LIBDIR += ../libhimd
LIBS += -L../libhimd

INCLUDEPATH += ../libhimd
LIBS    += -lhimd