source: trunk/doc/src/snippets/qmake/functions.pro@ 568

Last change on this file since 568 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 558 bytes
Line 
1#! [0]
2EXTRAS = handlers tests docs
3for(dir, EXTRAS) {
4 exists($$dir) {
5 SUBDIRS += $$dir
6 }
7}
8#! [0]
9
10SOURCES = paintwidget_mac.cpp paintwidget_unix.cpp paintwidget_win.cpp
11macx {
12 SOURCES = $$find(SOURCES, "_mac")
13}
14
15#! [1]
16HEADERS = model.h
17HEADERS += $$OTHER_HEADERS
18HEADERS = $$unique(HEADERS)
19#! [1]
20
21CONFIG += debug
22#! [2]
23options = $$find(CONFIG, "debug") $$find(CONFIG, "release")
24#! [3]
25count(options, 2) {
26 message(Both release and debug specified.)
27}
28#! [2] #! [3]
29
30#! [4]
31eval(TARGET = myapp) {
32 message($$TARGET)
33}
34#! [4]
Note: See TracBrowser for help on using the repository browser.