Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-03-28 | Add ability to customize pkg-config header and library search paths | Boris Kolpackov | 1 | -0/+6 | |
Specifically, {cc,c,cxx}.pkgconfig.{include,lib} variables specify header (-I) and library (-L) search paths to use in the generated .pc files instead of the default install.{include,lib}. Relative paths are resolved as install paths. | |||||
2021-10-04 | Optimize internal scope implementation | Boris Kolpackov | 1 | -2/+2 | |
2021-10-04 | Add support for treating specific libraries as always internal | Boris Kolpackov | 1 | -1/+5 | |
2021-10-01 | Add notion of internal scope, translate external -I to -isystem or equivalent | Boris Kolpackov | 1 | -2/+14 | |
2021-07-22 | Add note on new /std:c11 and /std:c17 MSVC options | Boris Kolpackov | 1 | -0/+5 | |
2021-05-13 | Rename sys_inc_dirs to sys_hdr_dirs for consistency | Boris Kolpackov | 1 | -4/+4 | |
2021-05-04 | Replace int_ with intf_ and imp_ with impl_ in names | Boris Kolpackov | 2 | -6/+6 | |
2021-04-20 | Track changes to environment in cc rules | Boris Kolpackov | 1 | -0/+1 | |
2021-01-30 | Rework include translation support | Boris Kolpackov | 1 | -4/+6 | |
See the config.cxx.translate_include variable documentation in cxx/init.cxx for details. | |||||
2020-12-11 | Add support for module interface-only libraries | Boris Kolpackov | 1 | -0/+2 | |
Also suppress generation of the object file in cases where we don't need it. | |||||
2020-07-16 | Save original compiler path/mode in {c,cxx}.config.path/mode | Boris Kolpackov | 1 | -0/+2 | |
It turns out that when propagating {c,cxx}.config in tests we don't want to propagate any options (such as *.std) that have been folded into our project's mode. | |||||
2020-07-13 | Fold translated *.std options into compiler mode options | Boris Kolpackov | 1 | -9/+5 | |
This way they are accessible in ad hoc recipes. | |||||
2020-07-01 | Add *.export.imp_libs to get rid of dual *.export.libs semantics | Boris Kolpackov | 1 | -0/+2 | |
2020-06-12 | Make order of imports stable in saved host build configuration | Boris Kolpackov | 1 | -0/+2 | |
2020-06-02 | Add process_path_ex with program stable name and checksum | Boris Kolpackov | 1 | -4/+4 | |
2020-04-27 | Rework tool importation along with cli module | Boris Kolpackov | 1 | -3/+3 | |
Specifically, now config.<tool> (like config.cli) is handled by the import machinery (it is like a shorter alias for config.import.<tool>.<tool>.exe that we already had). And the cli module now uses that instead of custom logic. This also adds support for uniform tool metadata extraction that is handled by the import machinery. As a result, a tool that follows the "build2 way" can be imported with metadata by the buildfile and/or corresponding module without any tool-specific code or brittleness associated with parsing --version or similar outputs. See the cli tool/module for details. Finally, two new flavors of the import directive are now supported: import! triggers immediate importation skipping any rule-specific logic while import? is optional import (analogous to using?). Note that optional import is always immediate. There is also the import-specific metadata attribute which can be specified for these two import flavors in order to trigger metadata importation. For example: import? [metadata] cli = cli%exe{cli} if ($cli != [null]) info "cli version $($cli:cli.version)" | |||||
2020-03-31 | Switch to project variable visibility by default | Boris Kolpackov | 1 | -13/+11 | |
2020-02-24 | Work around bug in Clang 10 targeting MSVC in c++2a (LLVM bug #44956) | Boris Kolpackov | 1 | -1/+5 | |
2020-02-07 | Drop copyright notice from source code | Karen Arutyunov | 5 | -5/+0 | |
2020-02-03 | Add header/library search paths from compiler mode to sys_*_dirs | Boris Kolpackov | 1 | -3/+6 | |
2020-01-29 | Rename module_base to module, redo module boot/init argument passing | Boris Kolpackov | 1 | -22/+14 | |
2020-01-28 | Use scope::var_pool() | Boris Kolpackov | 1 | -67/+67 | |
2020-01-27 | Improve module loading API | Boris Kolpackov | 1 | -8/+6 | |
2019-11-05 | Add support for supplying MSVC IFCPATH equivalent | Boris Kolpackov | 1 | -0/+1 | |
2019-11-05 | Recognize latest C (2x) and C++ (2b) standards | Boris Kolpackov | 1 | -8/+14 | |
2019-10-21 | Add more information on C and C++ compiler mode options to manual | Boris Kolpackov | 1 | -0/+2 | |
2019-10-18 | Add ability to specify "compiler mode" options as part of config.{c,cxx} | Boris Kolpackov | 1 | -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-11 | Add support for clang-cl | Boris Kolpackov | 1 | -5/+11 | |
The compiler type is `msvc`, variant `clang`. | |||||
2019-10-07 | Pass MSVC system library search paths to linker if LIB envvar is unset | Boris Kolpackov | 1 | -5/+5 | |
2019-09-18 | Rename importable_headers variable to translatable_headers | Boris Kolpackov | 1 | -2/+2 | |
This name aligns better with the post-Cologne importable/translatable semantics. | |||||
2019-08-28 | Make lib{build2} "implied interface dependency" of modules | Boris Kolpackov | 1 | -5/+3 | |
This makes our compilation and linking command lines a little bit saner. | |||||
2019-08-28 | Reduce repetition in buildfiles | Boris Kolpackov | 1 | -6/+1 | |
2019-08-28 | Move c build system module to separate library | Karen Arutyunov | 5 | -0/+557 | |