aboutsummaryrefslogtreecommitdiff
path: root/build2/target.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-11-26Add support for VC15Karen Arutyunov1-2/+2
2016-11-04Change buildfile target type name to build{}Boris Kolpackov1-1/+1
This is consistent with other names where we try to use the extension.
2016-11-04Add target::out_dir() accessorBoris Kolpackov1-1/+1
2016-11-04Implement auxiliary data storage pad in targetBoris Kolpackov1-0/+7
2016-11-04Various design/implementation cleanupsBoris Kolpackov1-10/+15
2016-08-29Implement initial support for library versioningBoris Kolpackov1-7/+10
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-12Implement support for C compilationBoris Kolpackov1-3/+3
We now have two new modules: cc (c-common) and c.
2016-08-05Implement out-qualified target syntax for setting target-specific varsBoris Kolpackov1-1/+1
So now we can do: doc{INSTALL}@./: install = false Note that so far that's the only place where we support out-qualification. Grep for @@ OUT to see other places.
2016-07-28Improve target out directory printingBoris Kolpackov1-1/+13
2016-07-19Add import library target libi{}, make libs{} the DLLBoris Kolpackov1-2/+1
In the end, having libs{} be the DLL with import library being its member is more natural than making libs{} the import library and having dll{} as its member.
2016-07-15Make .pdb ad hoc group member, installBoris Kolpackov1-20/+34
2016-07-08Move filesystem-related functions from context to new filesystem filesBoris Kolpackov1-1/+1
2016-07-01Port to MSVCKaren Arutyunov1-3/+4
2016-06-26Add notion of ad hoc group, use to handle DLL/import libraryBoris Kolpackov1-19/+45
2016-04-21Move target state reset back to recipe()Boris Kolpackov1-1/+2
Doing it in target::reset() (which is called by match()) didn't play well with delegated recipes.
2016-04-21Implement short-circuiting to group stateBoris Kolpackov1-5/+3
This is necessary to get rid of bogus restarts in inject_prerequisites() where it think a group member was updated since its state changed from unknown to (group's) changed.
2016-04-19Redesign src/out scopingBoris Kolpackov1-49/+33
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-04Implement value typing, null support via value attributesBoris Kolpackov1-18/+18
For example: v = [null] v = [string] abc v += ABC # abcABC
2016-04-02Add notion of lookup depth, fix bug with NULL overridesBoris Kolpackov1-20/+23
2016-04-01Get part of variable override implementationBoris Kolpackov1-9/+24
2016-03-31Clean up variable lookup interfacesBoris Kolpackov1-39/+10
2016-02-29Rename level[1-6]() to l[1-6]()Boris Kolpackov1-1/+1
2016-02-12<types>/<utility> scheme cleanupBoris Kolpackov1-4/+2
2016-01-31Don't assert in man{} extension since it gets called before factoryBoris Kolpackov1-1/+1
2016-01-27Rework default extension derivation, againBoris Kolpackov1-18/+28
2016-01-24Differentiate extension printing according to stream verbosityBoris Kolpackov1-8/+56
2016-01-23Clean up default target extension derivation logicBoris Kolpackov1-2/+32
2016-01-23Cleanup absolute/relative path diagnostics by introducing stream verbosityBoris Kolpackov1-3/+9
2016-01-23Change target_key::ext from pointer to pointer to reference to pointerBoris Kolpackov1-6/+6
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/+537