aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-03 18:21:26 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-03 18:21:26 +0200
commit0dfd165b5381286dc76f96637b9eb24b26a0b4b9 (patch)
tree1ca3d655326d6154d350172553fc9c4624e5753f /build/root.build
parentd109616006be29c4106966f77d0c0b22d51372ca (diff)
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
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build8
1 files changed, 4 insertions, 4 deletions
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