aboutsummaryrefslogtreecommitdiff
path: root/build2/config
AgeCommit message (Collapse)AuthorFilesLines
2016-11-30Add support for typed/untyped concatenated expansionBoris Kolpackov1-1/+1
2016-11-23Add support for config.cli=false (leave unconfigured)Boris Kolpackov2-4/+12
2016-11-04Various design/implementation cleanupsBoris Kolpackov1-3/+3
2016-09-15Add io_error alias for std::ios_base::failureKaren Arutyunov1-2/+2
2016-09-13Fix crashing on unhandled system_error thrown by file_exists()Karen Arutyunov1-2/+2
2016-09-05Fix issue with constexpr initialization, GCC 4.8 doesn't support thisBoris Kolpackov2-2/+2
2016-09-04Adjust configure/disfigure verbosityBoris Kolpackov1-9/+8
2016-08-30Add support for target visibility, use for dist, test, installBoris Kolpackov1-2/+2
This means we can no longer write: install = false Now it should be: *: install = false
2016-08-30Add support for config.build file versioningBoris Kolpackov3-9/+46
2016-08-23Don't write trailing spaces in case of empty values in config.buildBoris Kolpackov1-2/+11
2016-08-17Add support for config.bin.{lib,exe}.{prefix,suffix}Boris Kolpackov3-7/+6
This replaces the bin.libprefix functionality.
2016-08-12Rename module to initBoris Kolpackov3-15/+35
2016-08-12Add support for ordering modules in config.buildBoris Kolpackov5-15/+47
2016-08-03Don't treat absent config values that are saved commented as newBoris Kolpackov2-3/+7
2016-07-30Construct paths to use canonical directory separatorsBoris Kolpackov2-6/+0
Hardcoding separators as in "build/root.build" is now a big no-no.
2016-07-29Fix duplicate config.build variable issueBoris Kolpackov3-11/+29
2016-07-28Adjust to new path implementation, use to support reversibilityBoris Kolpackov1-1/+1
2016-07-25Fix surprising config override behavior now that they are amalgamation-wideBoris Kolpackov1-2/+24
2016-07-25Fix module separating blank line logicBoris Kolpackov1-4/+10
2016-07-23Adapt to fdstream extensionKaren Arutyunov1-15/+10
2016-07-21Save config vars in order specified rather than alphabeticallyBoris Kolpackov3-168/+199
This way we can group them semantically which results in easier to understand config.build output.
2016-07-21Fix bug in save_commented logicBoris Kolpackov1-2/+2
2016-07-21Save default/hinted ar/ld/rc values as commented outBoris Kolpackov4-13/+40
This way, when we, for example, change the C++ compiler (which hinted these values), they will be automatically adjusted as well.
2016-07-08Move filesystem-related functions from context to new filesystem filesBoris Kolpackov2-4/+2
2016-07-08Implement limited rpath emulation for WindowsBoris Kolpackov1-2/+2
2016-06-27Add config.bin.target var/hint, use to decide libso{} install modeBoris Kolpackov3-6/+59
Normally the user doesn't need to specify config.bin.target explicitly since the cxx module will hint it. We now also have the whole set of target's components: bin.target.{cpu,vendor,system,version,class}
2016-06-27Get rid of extern "C" in module boot()/init()Boris Kolpackov2-21/+21
We will have a separate (extern "C") register() function that will return the pointers to these two. This way we can still throw exceptions from boot() and init().
2016-06-26Add support for passing configuration hints via module init()Boris Kolpackov2-3/+11
2016-06-18Port to MinGWKaren Arutyunov1-2/+7
2016-04-21Use hash map/set for targets/prerequisites to resolve key change issueBoris Kolpackov1-0/+1
2016-04-19Redesign src/out scopingBoris Kolpackov1-2/+6
We no longer enter paths from the src tree into scope map. Instead, targets from the src tree now include their out tree directory (in essence their "configuration"). This is then used to find a target's scope. See the comment in class target for details. The result of this change is that we can now again build multiple configurations (out trees) for same project at once.
2016-04-11Simplify unconfigured module interfaceBoris Kolpackov2-12/+38
2016-04-11Separate config variable for different modules with blanksBoris Kolpackov1-0/+32
2016-04-11Redo config inheritance logicBoris Kolpackov3-18/+93
2016-04-11New configuration logic, iteration 1Boris Kolpackov6-103/+184
2016-03-29Reset build state for each meta-operationBoris Kolpackov1-13/+1
2016-03-28Add variable cast from lookupBoris Kolpackov1-3/+3
2016-03-28New variable architectureBoris Kolpackov2-16/+18
2016-03-28Add few notes, comment cleanupsBoris Kolpackov1-0/+2
2016-02-29Rename level[1-6]() to l[1-6]()Boris Kolpackov2-7/+7
2016-02-29Implement auxiliary dependency database (.d files), use in cxx.compileBoris Kolpackov4-69/+0
This is part of the "High Fidelity Build" work.
2016-02-12<types>/<utility> scheme cleanupBoris Kolpackov4-17/+18
2016-01-21Clean up config module diagnosticsBoris Kolpackov1-2/+2
2016-01-09Update copyright yearBoris Kolpackov8-8/+8
2016-01-05Rename build directory/namespace to build2Boris Kolpackov8-0/+872