diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-03 18:21:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-03 18:21:26 +0200 |
commit | 0dfd165b5381286dc76f96637b9eb24b26a0b4b9 (patch) | |
tree | 1ca3d655326d6154d350172553fc9c4624e5753f /build/root.build | |
parent | d109616006be29c4106966f77d0c0b22d51372ca (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.build | 8 |
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 |