aboutsummaryrefslogtreecommitdiff
path: root/build2/cc
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13Implement parallel operation executionBoris Kolpackov1-2/+5
2017-02-13Use target:as<> instead of static_cast for target castingBoris Kolpackov5-26/+25
2017-02-13Tighten code that operates during both search/match and executeBoris Kolpackov4-83/+144
2017-02-13Pass const target& to recipesBoris Kolpackov14-164/+244
2017-02-13Implement target_set locking, including extension updateBoris Kolpackov2-3/+3
2017-02-13Redesign target_set interface in preparation for lockingBoris Kolpackov1-2/+1
2017-02-13Store extension in target map key rather than in targetBoris Kolpackov3-5/+3
This is in preparation for locking its modification/access.
2017-02-13Pass const scope& where modification should not happenBoris Kolpackov11-49/+65
2017-02-13Add bin.vars moduleBoris Kolpackov1-12/+13
Use in cc to make sure hint variables are already registered.
2017-02-13Add notion of phase, enforceBoris Kolpackov1-1/+4
2017-02-13Add model mutex, make var_pool const by defaultBoris Kolpackov10-85/+106
2017-01-23Make rules const throughoutBoris Kolpackov1-3/+3
2017-01-23Go back to storing scope instead of target in prerequisiteBoris Kolpackov1-4/+4
Turns out this was semantically the right way to do it.
2017-01-20Remove prerequisite caching in scopeBoris Kolpackov1-4/+4
We don't share them often and those that are shared (e.g., cxx{} in obja/objs{}) are lightweight (SOO).
2017-01-19Get rid of extension_poolBoris Kolpackov5-32/+25
2017-01-19Get rid of project_name_poolBoris Kolpackov5-9/+12
With small string optimizations this is most likely a hindrance rather that an optimization.
2017-01-18Ignore prerequisite mtimes that are not linker inputsBoris Kolpackov2-21/+30
This makes sure, for example, that we don't unnecessarily re-link an executable when its testscript prerequisite is changes.
2017-01-12Implement support for narrowing down tests (config.test)Boris Kolpackov1-8/+6
2017-01-09Make use of operator<<(ostream, exception)Karen Arutyunov6-14/+14
2017-01-06Store platform targets as typed target_tripletBoris Kolpackov5-92/+87
2017-01-05Update copyright yearBoris Kolpackov25-25/+25
2016-12-17Add support for specifying individual paths of imported targetsBoris Kolpackov1-2/+1
The new config.import.* variable format is: config.import.<proj>.<name>[.<type>] For example: b config.import.build2.b=/opt/build2/bin/b b config.import.build2.b.exe=b-boot
2016-12-16Move exe{} to build2 core, add fallback extensions (existing files)Boris Kolpackov2-2/+4
2016-12-05Eliminate the use of '/...' paths on WindowsKaren Arutyunov1-0/+2
2016-11-30Add support for typed/untyped concatenated expansionBoris Kolpackov1-1/+1
2016-11-29Cosmetic changeBoris Kolpackov1-8/+10
2016-11-26Add support for VC15Karen Arutyunov2-14/+20
2016-11-22Use diagnostics facility from libbutlBoris Kolpackov2-14/+9
2016-11-18Make names and vector<name> different types, add typed value constructorBoris Kolpackov3-6/+6
2016-11-04Adopt to auto_fd introduced to libbutl fdstreams and processKaren Arutyunov4-6/+10
2016-11-04Cleanup match_result messBoris Kolpackov4-13/+25
2016-09-15Add io_error alias for std::ios_base::failureKaren Arutyunov6-10/+10
2016-09-13Fix crashing on unhandled system_error thrown by file_exists()Karen Arutyunov4-7/+8
2016-09-06Ignore instead of overriding header prefix (now more specific -I's come first)Boris Kolpackov1-8/+10
2016-09-05Change order in which library options are processedBoris Kolpackov2-59/+104
The idea is that we want more "specialized" -I/-L options before more "generic" in order to make sure we don't pick up installed headers or libraries. This is still not bullet-proof though.
2016-09-05Handle /usr/local brain-deathBoris Kolpackov4-18/+85
2016-09-04Add /usr/local/lib to library search paths on FreeBSDBoris Kolpackov1-37/+50
2016-09-04Adjust to freebsd to bsd target class changeBoris Kolpackov3-6/+6
2016-09-04Add digits to right pattern separator to handle clang++37 (FreeBSD).Boris Kolpackov1-1/+4
2016-09-04Fix initializer list lifetime issuesBoris Kolpackov2-20/+12
2016-09-03Fix uninitialized variable warningBoris Kolpackov1-1/+1
2016-09-02Don't warn if we pre-guessed gcc but it ended up being clang-appleBoris Kolpackov1-3/+15
This handles the gcc/g++ Mac OS "aliases".
2016-08-31Improve mixed source (e.g., C and C++) building supportBoris Kolpackov3-4/+35
2016-08-30Fix missing .dll.d cleanup on MinGWBoris Kolpackov1-7/+2
2016-08-30Remove backwards-compatibility kludgesBoris Kolpackov1-3/+0
2016-08-30Change function names to make VC happyBoris Kolpackov1-1/+1
2016-08-30Fix typoBoris Kolpackov1-1/+1
2016-08-30On FreeBSD also search in libdata/pkgconfig/Boris Kolpackov1-33/+60
2016-08-29Implement initial support for library versioningBoris Kolpackov4-100/+339
Currently we only support platform-independent versions that get appended to the library name. The magic incantation is this: lib{foo}: bin.lib.version = @-1.2 This will produce libfoo-1.2.so, libfoo-1.2.dll, etc. In the future we will support things like this: lib{foo}: bin.lib.version = linux@1.2.3 freebsd@1.2 windows@1.2
2016-08-29Fix incorrect process argv[0] valuesBoris Kolpackov1-1/+1