From 0dfd165b5381286dc76f96637b9eb24b26a0b4b9 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 3 Dec 2015 18:21:26 +0200 Subject: Use 'extension' variable for cxx target types, .*xx extensions by default One can also do: define cpp: cxx cpp{*}: extension = cpp cpp{foo}: # foo.cpp --- build/root.build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build/root.build') diff --git a/build/root.build b/build/root.build index 1be6cb7..230c58d 100644 --- a/build/root.build +++ b/build/root.build @@ -4,10 +4,10 @@ using cxx -hxx.ext = -ixx.ext = ixx -txx.ext = txx -cxx.ext = cxx +hxx{*}: extension = +ixx{*}: extension = ixx +txx{*}: extension = txx +cxx{*}: extension = cxx cxx.std = 14 cxx.poptions += -I$src_root -- cgit v1.1