aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c
AgeCommit message (Collapse)AuthorFilesLines
2019-10-18Add ability to specify "compiler mode" options as part of config.{c,cxx}Boris Kolpackov1-1/+3
Such options are (normally) not overridden by buildfiles and are passed last (after cc.coptions and {c,cxx}.coptions) in the resulting command lines. They are also cross-hinted between config.c and config.cxx. For example: $ b config.cxx="g++ -m64"
2019-10-11Add support for clang-clBoris Kolpackov1-5/+11
The compiler type is `msvc`, variant `clang`.
2019-10-07Pass MSVC system library search paths to linker if LIB envvar is unsetBoris Kolpackov1-5/+5
2019-09-18Rename importable_headers variable to translatable_headersBoris Kolpackov1-2/+2
This name aligns better with the post-Cologne importable/translatable semantics.
2019-08-28Make lib{build2} "implied interface dependency" of modulesBoris Kolpackov1-5/+3
This makes our compilation and linking command lines a little bit saner.
2019-08-28Reduce repetition in buildfilesBoris Kolpackov1-6/+1
2019-08-28Move c build system module to separate libraryKaren Arutyunov5-0/+557