From f599f30ee51c8a6f796d5b9a35e8e17ee54333ee Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 7 Mar 2019 09:03:33 +0200 Subject: Add support for alternative build file/directory naming scheme Specifically, the bdep-new --type|-t now has the new 'alt-naming' sub-option that can be used to create projects with the alternative naming. --- tests/new.testscript | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'tests/new.testscript') diff --git a/tests/new.testscript b/tests/new.testscript index 8bfdc36..ca33056 100644 --- a/tests/new.testscript +++ b/tests/new.testscript @@ -68,6 +68,30 @@ status += -d prj EOE } + : exe-alt-naming + : + { + $* -t exe,alt-naming,unit-tests -l c++ foo 2>>/"EOE" &foo/***; + created new executable project foo in $~/foo/ + EOE + + $build foo/ $cxx 2>>~%EOE% + %(c\+\+|ld|ar) .+%{5} + EOE + } + + : lib-alt-naming + : + { + $* -t lib,alt-naming,unit-tests -l c++ libfoo 2>>/"EOE" &libfoo/***; + created new library project libfoo in $~/libfoo/ + EOE + + $build libfoo/ $cxx 2>>~%EOE% + %(version\.in|c\+\+|ar|ld) .+%{11} + EOE + } + : lib-binless : { -- cgit v1.1