Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-01-30 | Add std::{map, multimap} to types.hxx | Boris Kolpackov | 1 | -1/+0 | |
Seeing that std::map is becoming a common Buildfile variable type. | |||||
2021-01-30 | Rework include translation support | Boris Kolpackov | 1 | -59/+77 | |
See the config.cxx.translate_include variable documentation in cxx/init.cxx for details. | |||||
2020-12-15 | Cache more results of executing programs (compilers, etc) | Boris Kolpackov | 1 | -20/+65 | |
2020-11-11 | Add ${c,cxx}.lib_{poptions,libs,rpaths}() functions | Boris Kolpackov | 1 | -3/+15 | |
These functions can be used to query library metadata for options and libraries that should be used when compiling/linking dependent targets, similar to how cc::{compile,link}_rule do it. With this support it should be possible to more or less re-create their semantics in ad hoc recipes. | |||||
2020-11-05 | Initial Emscripten support | Boris Kolpackov | 1 | -19/+42 | |
- Target: wasm32-emscripten (wasm32-unknown-emscripten). - Compiler id: clang-emscripten (type clang, variant emscripten, class gcc). - Ability to build executables (.js plus .wasm) and static libraries (.a). Set executable bit on the .js file (so it can be executed with a suitable binfmt interpreter). - Default config.bin.lib for wasm32-emscripten is static instead of both. - Full C++ exception support is enable unless disabled explicitly by the user with -s DISABLE_EXCEPTION_CATCHING=1|2. - The bin module registers the wasm{} target type for wasm32-emscripten. | |||||
2020-07-16 | Save original compiler path/mode in {c,cxx}.config.path/mode | Boris Kolpackov | 1 | -1/+7 | |
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 | -10/+4 | |
This way they are accessible in ad hoc recipes. | |||||
2020-06-02 | Add process_path_ex with program stable name and checksum | Boris Kolpackov | 1 | -1/+1 | |
2020-04-02 | Fix ~host config to only contain cc and bin modules configuration | Boris Kolpackov | 1 | -1/+1 | |
Also add ~build2 that contains everything (except config.dist.*) to be used for build system modules. | |||||
2020-03-31 | Switch to project variable visibility by default | Boris Kolpackov | 1 | -3/+6 | |
2020-03-20 | Generate common .pc file in addition to static/staged when installing lib{} | Boris Kolpackov | 1 | -0/+1 | |
The common .pc file is produced by ignoring any static/shared-specific poptions and splitting loptions/libs into Libs/Libs.private. It is "best effort", in a sense that it's not guaranteed to be sufficient in all cases, but it will probably cover the majority of cases, even on Windows, thanks to automatic dllimport'ing of functions. | |||||
2020-03-17 | Rework config::{omitted,required,optional}() into unified config_lookup() | Boris Kolpackov | 1 | -24/+29 | |
2020-03-11 | Minor config variable lookup cleanups | Boris Kolpackov | 1 | -5/+16 | |
2020-02-24 | Work around bug in Clang 10 targeting MSVC in c++2a (LLVM bug #44956) | Boris Kolpackov | 1 | -1/+1 | |
2020-02-07 | Drop copyright notice from source code | Karen Arutyunov | 1 | -1/+0 | |
2020-02-03 | Fix bug in sys_*_dirs commit | Boris Kolpackov | 1 | -1/+1 | |
2020-02-03 | Add header/library search paths from compiler mode to sys_*_dirs | Boris Kolpackov | 1 | -21/+29 | |
2020-01-28 | Use scope::var_pool() | Boris Kolpackov | 1 | -1/+1 | |
2020-01-27 | Add corner case check in const.{c,cxx} array splitting | Boris Kolpackov | 1 | -8/+11 | |
2019-11-08 | Redo Apple /usr/include detection using patterns | Boris Kolpackov | 1 | -16/+8 | |
This should cover XCode 11 where the symlinks are the other way around now (see homebrew-core issue #46393 for details). | |||||
2019-11-05 | Add support for supplying MSVC IFCPATH equivalent | Boris Kolpackov | 1 | -0/+12 | |
2019-10-18 | Add ability to specify "compiler mode" options as part of config.{c,cxx} | Boris Kolpackov | 1 | -119/+165 | |
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/+27 | |
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 | -54/+67 | |
2019-10-05 | Implement more accurate MSVC information extraction from Clang on Windows | Boris Kolpackov | 1 | -0/+1 | |
2019-09-18 | Rename importable_headers variable to translatable_headers | Boris Kolpackov | 1 | -8/+8 | |
This name aligns better with the post-Cologne importable/translatable semantics. | |||||
2019-08-28 | Move cc build system module to separate library | Karen Arutyunov | 1 | -0/+781 | |