aboutsummaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2023-06-26Suppress -Wdangling-reference GCC 13 warningKaren Arutyunov1-0/+5
2023-06-26Suppress -Wunqualified-std-cast-call Clang 15 warningKaren Arutyunov1-0/+2
2022-07-05Switch to using libpkg-config instead of libpkgconf by defaultBoris Kolpackov1-0/+8
The use of (now deprecated) libpkgconf is still possible by setting config.build2.libpkgconf to true. Note that libpkgconf is known to have issues on Windows and Mac OS so this should only be used on Linux and maybe BSDs. Also note that we will only keep this until upstream (again) breaks backwards compatibility at which point we will drop this support.
2022-01-17Use UTF-8 as default input/source charset for C/C++ compilationBoris Kolpackov1-1/+1
2021-07-07Disable GCC -Wstringop-overread (false positives in GCC 11, bug 101361)Boris Kolpackov1-1/+2
2021-04-20Disable bunch of bogus GCC warningsBoris Kolpackov1-0/+2
2020-12-14Suppress VC's 'character cannot be represented in current code page' warning ↵Karen Arutyunov1-1/+1
(C4819)
2020-06-12Make order of imports stable in saved host build configurationBoris Kolpackov1-0/+6
2020-02-07Drop copyright notice from source codeKaren Arutyunov3-3/+0
2019-11-12Rename config.{import,export} to config.config.{load,save}Boris Kolpackov1-1/+1
Also rename the $config.export() function to $config.save().
2019-11-12Rename config.module to config.config.moduleBoris Kolpackov1-1/+1
The old name was an accidental land-grab.
2019-11-04Add support for ~host special configuration name in config.importBoris Kolpackov1-0/+5
This is the "default host configuration" that corresponds to how the build system itself was built. For example: $ b create: tools/,cc config.import=~host
2019-10-14Implement MSVC installation discovery for version 15 (2017) and laterKaren Arutyunov1-0/+4
In particular, this removes the requirement to build from the Visual Studio command prompt. Note that since MSVC compiler binaries are target-specific (i.e., there are no -m32/-m64 options nor something like /MACHINE), in this case we default to a 64-bit build (a 32-bit build can still be achieved by running from a suitable command prompt). Finally, this mechanism is also used to find Clang bundled with MSVC.
2019-10-06Adapt for building with Clang on WindowsKaren Arutyunov1-3/+3
2019-08-26Implement updating build system modulesBoris Kolpackov1-1/+1
2019-07-24Move in build system module to separate libraryBoris Kolpackov1-2/+10
2019-07-02Fix export stubBoris Kolpackov1-4/+13
2019-07-01Split build system into library and driverBoris Kolpackov2-2/+5
2019-03-08Use new setup for unit testsKaren Arutyunov1-6/+0
2019-01-16Update copyright yearKaren Arutyunov3-3/+3
2018-12-03Suppress MSVC warnings at project levelBoris Kolpackov1-0/+6
2018-11-28Add config.hxx.in config header, move stage status thereBoris Kolpackov1-0/+2
2018-09-03Use (native) C and C++ compilers we were built with as defaultsBoris Kolpackov1-0/+5
2018-06-20Regularize .gitignore filesKaren Arutyunov1-0/+2
2018-05-19Update copyright yearKaren Arutyunov3-3/+3
2018-05-03Regularize directory target/scope-specific variable assignment syntaxBoris Kolpackov1-1/+1
2017-07-29Refine utility library semantics with "see through" themeBoris Kolpackov1-0/+2
2017-07-28Use utility library to arrange unit testingBoris Kolpackov1-3/+3
2017-05-01Add hxx extension for headersKaren Arutyunov1-1/+1
2017-04-28Switch to version moduleBoris Kolpackov1-10/+1
2017-03-03Remove no longer necessary cli target type definitionBoris Kolpackov1-8/+2
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov1-1/+1
2017-01-12Don't by default treat exe{} in tests/ as testsBoris Kolpackov1-2/+1
2017-01-09Implement test.target variableBoris Kolpackov1-0/+4
The plan is to use it for the portable path conversions.
2017-01-05Update copyright yearBoris Kolpackov3-3/+3
2016-12-16Convert tests/ to subproject, initial work on cross-testing supportBoris Kolpackov1-0/+10
2016-12-14Add support for cxx.std=latest, use when building build2Boris Kolpackov1-1/+1
2016-12-09Initial parallel scheduler implementation, use to run testscripsBoris Kolpackov1-2/+3
2016-11-30Add support for typed/untyped concatenated expansionBoris Kolpackov1-1/+1
2016-09-08Bump version to 0.5.0-a1, master is open for businessBoris Kolpackov1-1/+1
2016-09-06Don't search for subprojects recursively, only at top-levelBoris Kolpackov1-1/+0
2016-09-05Bump version to 0.4.0 (final)Boris Kolpackov1-2/+2
2016-08-30Build infrastructure updateBoris Kolpackov2-4/+24
2016-08-30Add support for target visibility, use for dist, test, installBoris Kolpackov1-2/+1
This means we can no longer write: install = false Now it should be: *: install = false
2016-08-30Remove backwards-compatibility kludgesBoris Kolpackov1-8/+1
2016-08-27Clean up library export, make c and cxx modules project root onlyBoris Kolpackov1-1/+2
So now c and cxx modules can only be loaded in project root scope (normally root.build). Also, the c.std and cxx.std must now be set *before* loading the module to take effect. This means we won't be able to handle old buildfiles anymore but old versions of build2 should be able to handle new *.std placement.
2016-04-26Bump version to 0.4.0-a1, master is open for businessBoris Kolpackov1-2/+2
2016-04-23Backwards-compatibility fixesBoris Kolpackov1-1/+7
2016-04-22Bump version to 0.3.0Boris Kolpackov1-1/+1
2016-04-12Change text.exe to exe{*}:test (BC change)Boris Kolpackov1-1/+2