aboutsummaryrefslogtreecommitdiff
path: root/build2/target-type.hxx
AgeCommit message (Collapse)AuthorFilesLines
2018-08-07Add support for default extension specification, trailing dot escapingBoris Kolpackov1-2/+9
For example: cxx{*}: extension = cxx cxx{foo} # foo.cxx cxx{foo.test} # foo.test (probably what we want...) cxx{foo.test...} # foo.test.cxx (... is this) cxx{foo..} # foo. cxx{foo....} # foo.. cxx{foo.....} # error (must come in escape pair)
2018-07-26Pass extension supplied by rule to target type default extension functionBoris Kolpackov1-3/+6
Also revert the precedence back to target type over rule. But now the target type is able to customize this logic (see exe{} for a use case).
2018-07-25Prefer default extension supplied by rule over one supplied by target typeBoris Kolpackov1-4/+6
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-05-19Support for deriving target type from file name, handle testscript, buildfileBoris Kolpackov1-27/+78
In particular, instead of: exe{test}: test{testscript} We should now write: exe{test}: testscript
2017-12-07Distinguish between "fixed" and "default" target extensionsBoris Kolpackov1-15/+13
This fixes wrong merging of, say, file{README} and file{README.MySQL} (in libmysqlclient).
2017-05-01Add hxx extension for headersKaren Arutyunov1-0/+138