File: aptplugin-test.pro

package info (click to toggle)
packagesearch 2.10.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,704 kB
  • sloc: cpp: 9,176; perl: 248; makefile: 15; sh: 11
file content (39 lines) | stat: -rw-r--r-- 529 bytes parent folder | download
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
TEMPLATE = app

CONFIG += warn_on \
	qt \
	thread \
	stl \
	link_pkgconfig

QT += xml

TARGET = run-tests

SOURCES += main-test.cpp

INCLUDEPATH = . \
	../../ \
	../aptplugin

debug {
    message("generating debug version")
    OBJECTS_DIR = .obj_debug
    DEFINES += __DEBUG
    CONFIG -= release
}
else {
    message("generating release version")
    OBJECTS_DIR = .obj
}


# use unit test ++
DEFINES += __UNIT_TEST_PP
PKGCONFIG += unittest++
LIBS += -L../../ -L../ -lpackagesearch -laptplugin
QMAKE_CXXFLAGS += -std=c++11