aboutsummaryrefslogtreecommitdiff
path: root/build2/search.cxx
AgeCommit message (Collapse)AuthorFilesLines
2019-07-01Split build system into library and driverBoris Kolpackov1-244/+0
2019-05-15Add ability to depend on (declared) ad hoc group memberBoris Kolpackov1-3/+7
2019-04-03Change depdb API and handle system_error thrown by butl::file_mtime()Karen Arutyunov1-3/+2
Previously, debdb operations threw system_error and io_error to signal errors, except for opening which issued diagnostics and failed. Now all operations print the diagnostics and fail on system and IO errors.
2019-03-07Add support for alternative build file/directory naming schemeBoris Kolpackov1-1/+1
Now the build/*.build, buildfile, and .buildignore filesystem entries in a project can alternatively (but consistently) be called build2/*.build2, build2file, and .build2ignore. See a note at the beginning of the Project Structure section in the manual for details (motivation, restrictions, etc).
2019-01-16Update copyright yearKaren Arutyunov1-1/+1
2018-07-26Pass extension supplied by rule to target type default extension functionBoris Kolpackov1-1/+1
Also revert the precedence back to target type over rule. But now the target type is able to customize this logic (see exe{} for a use case).
2018-05-19Update copyright yearKaren Arutyunov1-1/+1
2018-02-19Make search_existing_file() more consistentBoris Kolpackov1-20/+17
2017-12-07Distinguish between "fixed" and "default" target extensionsBoris Kolpackov1-1/+3
This fixes wrong merging of, say, file{README} and file{README.MySQL} (in libmysqlclient).
2017-11-22Fix dist bug where missing source file would be silently ignoredBoris Kolpackov1-9/+24
2017-10-03Adapt to modularization of libbutlKaren Arutyunov1-1/+1
2017-05-31Adjust extension semantics in file rule to match search_existing_file()Boris Kolpackov1-1/+1
2017-05-01Add hxx extension for headersKaren Arutyunov1-7/+7
2017-03-02Implement parallel matchBoris Kolpackov1-13/+11
2017-02-13Implement target_set locking, including extension updateBoris Kolpackov1-4/+6
2017-02-13Redesign target_set interface in preparation for lockingBoris Kolpackov1-7/+5
2017-02-13Add notion of phase, enforceBoris Kolpackov1-6/+21
2017-01-23Implement automatic loading of directory buildfilesBoris Kolpackov1-2/+2
Now instead of explicitly writing: d = foo/ bar/ ./: $d include $d We can (usually) just write: ./: foo/ bar/
2017-01-19Get rid of extension_poolBoris Kolpackov1-4/+5
2017-01-05Update copyright yearBoris Kolpackov1-1/+1
2016-12-16Move exe{} to build2 core, add fallback extensions (existing files)Boris Kolpackov1-3/+1
2016-08-02Optimize out path::normalize() callsBoris Kolpackov1-2/+8
2016-07-08Move filesystem-related functions from context to new filesystem filesBoris Kolpackov1-1/+1
2016-06-26Add notion of ad hoc group, use to handle DLL/import libraryBoris Kolpackov1-1/+1
2016-04-23Revert back to using root scope in src_out()/out_src()Boris Kolpackov1-1/+1
Relaxing it to base was not wise since we can have "sideways" prerequisites (those from parallel directories such as brep's ../web/*).
2016-04-19Redesign src/out scopingBoris Kolpackov1-34/+76
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-02-29Rename level[1-6]() to l[1-6]()Boris Kolpackov1-11/+8
2016-02-12<types>/<utility> scheme cleanupBoris Kolpackov1-3/+0
2016-01-27Rework default extension derivation, againBoris Kolpackov1-11/+9
2016-01-24Differentiate extension printing according to stream verbosityBoris Kolpackov1-3/+3
2016-01-23Change target_key::ext from pointer to pointer to reference to pointerBoris Kolpackov1-11/+15
Probably can also do for the rest of the target_key members.
2016-01-09Update copyright yearBoris Kolpackov1-1/+1
2016-01-05Rename build directory/namespace to build2Boris Kolpackov1-0/+171