summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/qmake/debug_and_release.pro
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/qmake/debug_and_release.pro')
-rw-r--r--doc/src/snippets/qmake/debug_and_release.pro14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/src/snippets/qmake/debug_and_release.pro b/doc/src/snippets/qmake/debug_and_release.pro
new file mode 100644
index 0000000..92e8dbf
--- /dev/null
+++ b/doc/src/snippets/qmake/debug_and_release.pro
@@ -0,0 +1,14 @@
+#! [0]
+CONFIG += debug_and_release
+
+CONFIG(debug, debug|release) {
+ TARGET = debug_binary
+} else {
+#! [0] #! [1]
+ TARGET = release_binary
+}
+#! [1]
+
+#! [2]
+CONFIG += build_all
+#! [2]