diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-12-06 00:26:58 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-01-30 08:53:19 +0000 |
commit | 7949bf108655c0c3e2696ab5dec4ec3ae8248acb (patch) | |
tree | 84cbdb7c272024853a6e873f168f75065880c03e /tests/auto/blackbox/blackbox.qbs | |
parent | f4d51b56f771d6e42210f967f989b03391fd5bbd (diff) | |
download | qbs-7949bf108655c0c3e2696ab5dec4ec3ae8248acb.tar.gz |
Add a Utilities.cStringQuote function
This accepts a raw string and provides a C string literal, properly
escaped and quoted.
Change-Id: I61a02ce07f152f36ac31bf973932a7f88406bb75
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/blackbox/blackbox.qbs')
-rw-r--r-- | tests/auto/blackbox/blackbox.qbs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/blackbox/blackbox.qbs b/tests/auto/blackbox/blackbox.qbs index 2aba61139..7ae40e471 100644 --- a/tests/auto/blackbox/blackbox.qbs +++ b/tests/auto/blackbox/blackbox.qbs @@ -21,6 +21,7 @@ Project { "tst_blackbox.cpp", "tst_blackbox.h", ] + // TODO: Use Utilities.cStringQuote cpp.defines: base.concat(['SRCDIR="' + path + '"']) } @@ -41,6 +42,7 @@ Project { "tst_blackboxjava.cpp", "tst_blackboxjava.h", ] + // TODO: Use Utilities.cStringQuote cpp.defines: base.concat(['SRCDIR="' + path + '"']) } @@ -64,6 +66,7 @@ Project { "tst_clangdb.cpp", "tst_clangdb.h", ] + // TODO: Use Utilities.cStringQuote cpp.defines: base.concat(['SRCDIR="' + path + '"']) } } |