From 6d5c3081a06c5ed0ebedad68a79ae404fc741083 Mon Sep 17 00:00:00 2001 From: Michael Vlach Date: Wed, 1 Nov 2017 18:05:22 +0100 Subject: [PATCH] Simplified test project regexp --- autoproject.qbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoproject.qbs b/autoproject.qbs index c36e6eb..1b6714f 100644 --- a/autoproject.qbs +++ b/autoproject.qbs @@ -77,7 +77,7 @@ Project property var items: { return { - AutoprojectApp: { pattern: "(\\/[Tt]est|[Tt]est\\.(cpp|h)|\\/[Mm]ain\\.cpp)$" }, + AutoprojectApp: { pattern: "\\/([Tt]est|[Tt]est\\.(cpp|h)|[Mm]ain\\.cpp)$" }, AutoprojectDynamicLib: { pattern: "\\/([Ii]ncludes?|.+\\.h)$", contentPattern: "[A-Z\d_]+SHARED " }, AutoprojectPlugin: { pattern: "\\/.+\\.h$", contentPattern: "Q_INTERFACES\\(([a-zA-Z\d]+(, |,|))+\\)" }, AutoprojectStaticLib: { pattern: "\\/([Ll]ib|.+\\.cpp)$" },