Skip to content

Commit

Permalink
Variable QMAKE_EXTRA_UNIX_TARGETS is deprecated; use QMAKE_EXTRA_TARG…
Browse files Browse the repository at this point in the history
…ETS instead.
  • Loading branch information
jpnurmi committed Oct 15, 2010
1 parent 93aada4 commit a9d5200
Showing 1 changed file with 25 additions and 22 deletions.
47 changes: 25 additions & 22 deletions libqxt.pro
Original file line number Diff line number Diff line change
Expand Up @@ -94,25 +94,28 @@ runtests.depends += sub-tests
runtests.commands += cd tests && $(MAKE) test
QMAKE_EXTRA_TARGETS += runtests

cov_zerocounters.CONFIG += recursive
cov_zerocounters.recurse = $$SUBDIRS
cov_zerocounters.recurse -= sub_designer
cov_zerocounters.recurse_target = zerocounters
QMAKE_EXTRA_UNIX_TARGETS += cov_zerocounters

cov_capture.CONFIG += recursive
cov_capture.recurse = $$SUBDIRS
cov_capture.recurse -= sub_designer
cov_capture.recurse -= sub_sql # TODO: write unit tests for these!
cov_capture.recurse_target = capture
QMAKE_EXTRA_UNIX_TARGETS += cov_capture

cov_genhtml.CONFIG += recursive
cov_genhtml.recurse = $$SUBDIRS
cov_genhtml.recurse -= sub_designer
cov_genhtml.recurse -= sub_sql # TODO: write unit tests for these!
cov_genhtml.recurse_target = genhtml
QMAKE_EXTRA_UNIX_TARGETS += cov_genhtml

coverage.depends += first cov_zerocounters runtests cov_capture cov_genhtml
QMAKE_EXTRA_UNIX_TARGETS += coverage
unix {
cov_zerocounters.CONFIG += recursive
cov_zerocounters.recurse = $$SUBDIRS
cov_zerocounters.recurse -= sub_designer
cov_zerocounters.recurse_target = zerocounters
QMAKE_EXTRA_TARGETS += cov_zerocounters

cov_capture.CONFIG += recursive
cov_capture.recurse = $$SUBDIRS
cov_capture.recurse -= sub_designer
cov_capture.recurse -= sub_sql # TODO: write unit tests for these!
cov_capture.recurse_target = capture
QMAKE_EXTRA_TARGETS += cov_capture

cov_genhtml.CONFIG += recursive
cov_genhtml.recurse = $$SUBDIRS
cov_genhtml.recurse -= sub_designer
cov_genhtml.recurse -= sub_sql # TODO: write unit tests for these!
cov_genhtml.recurse_target = genhtml
QMAKE_EXTRA_TARGETS += cov_genhtml

coverage.depends += first cov_zerocounters runtests cov_capture cov_genhtml
QMAKE_EXTRA_TARGETS += coverage
}

0 comments on commit a9d5200

Please sign in to comment.