summaryrefslogtreecommitdiff
path: root/qca.pro
blob: 42b0c84c92a816a3e3a8e787450c3f5e80db708a (plain)
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
TEMPLATE = subdirs
SUBDIRS = sub_src sub_tools sub_unittest sub_examples

sub_src.subdir = src
sub_tools.subdir = tools
sub_tools.depends = sub_src
sub_unittest.subdir = unittest
sub_unittest.depends = sub_src
sub_examples.subdir = examples
sub_examples.depends = sub_src

include(conf.pri)

!isEmpty(QCA_NO_TESTS) {
	SUBDIRS -= sub_unittest sub_examples
}

unix: {
	# API documentation
	#apidox.commands += doxygen && cd apidocs/html && ./installdox -lqt.tag@/home/bradh/build/qt-x11-opensource-4.0.0-rc1-snapshot/doc/html/ && cd ../..
	apidox.commands += doxygen && cd apidocs/html && ./installdox -lqt.tag@http://doc.trolltech.com/4.1 && cd ../..
	QMAKE_EXTRA_TARGETS += apidox

	# unittest
	test.commands += cd unittest && make test && cd ..
	QMAKE_EXTRA_TARGETS += test
}