aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-02 08:26:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-07-02 08:26:25 +0200
commitb39f3adf0b8090e6e5dfa65ef34288b6bb1998cb (patch)
treede0f086337245579a03110bb3559ae852c1b8e5d
parent9b51369175da178b8ee04fc43544c75f649af259 (diff)
Use recursive wildcard patterns in projects created by bdep-new
-rw-r--r--bdep/new.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 11f00ee..ab8b255 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -426,7 +426,7 @@ namespace bdep
{
case lang::c:
{
- os << "exe{" << n << "}: {h c}{*} $libs" <<
+ os << "exe{" << n << "}: {h c}{**} $libs" <<
(tests ? " testscript" : "") << endl;
x = "c";
@@ -434,7 +434,7 @@ namespace bdep
}
case lang::cxx:
{
- os << "exe{" << n << "}: {hxx ixx txx cxx}{*} $libs" <<
+ os << "exe{" << n << "}: {hxx ixx txx cxx}{**} $libs" <<
(tests ? " testscript" : "") << endl;
x = "cxx";
@@ -689,7 +689,7 @@ namespace bdep
{
case lang::c:
{
- os << "lib{" << s << "}: {h c}{* -version} h{version}" << endl;
+ os << "lib{" << s << "}: {h c}{** -version} h{version}" << endl;
x = "c";
h = "h";
@@ -698,7 +698,7 @@ namespace bdep
}
case lang::cxx:
{
- os << "lib{" << s << "}: {hxx ixx txx cxx}{* -version} hxx{version} $imp_libs $int_libs" << endl;
+ os << "lib{" << s << "}: {hxx ixx txx cxx}{** -version} hxx{version} $imp_libs $int_libs" << endl;
x = "cxx";
h = "hxx";
@@ -965,12 +965,12 @@ namespace bdep
{
case lang::c:
{
- os << "exe{driver}: {h c}{*} $libs" << endl;
+ os << "exe{driver}: {h c}{**} $libs" << endl;
break;
}
case lang::cxx:
{
- os << "exe{driver}: {hxx ixx txx cxx}{*} $libs" << endl;
+ os << "exe{driver}: {hxx ixx txx cxx}{**} $libs" << endl;
break;
}
}