aboutsummaryrefslogtreecommitdiff
path: root/build2/target
AgeCommit message (Collapse)AuthorFilesLines
2016-11-04Cleanup match_result messBoris Kolpackov1-0/+6
2016-11-04Add target::out_dir() accessorBoris Kolpackov1-1/+4
2016-11-04Implement auxiliary data storage pad in targetBoris Kolpackov1-3/+70
2016-11-04Various design/implementation cleanupsBoris Kolpackov1-4/+8
2016-08-28Fix Windows rpath supportBoris Kolpackov1-2/+2
2016-08-12Implement support for C compilationBoris Kolpackov1-3/+20
We now have two new modules: cc (c-common) and c.
2016-07-29Fix bug in prerequisite iteration leave group supportBoris Kolpackov1-0/+2
2016-07-19Add import library target libi{}, make libs{} the DLLBoris Kolpackov1-4/+8
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-17Redesign obj to exe/lib mappingBoris Kolpackov1-1/+1
Specifically: * objso{} and libso{} target types have been renamed to objs{} and libs{} * obje{} has been added (so now we have obje{}, obja{}, and objs{}) * obje{} is now used for building exe{} * object file extensions have been changed to use "hierarchical extensions" that reflect the extension of the corresponding exe/lib target (instead of the -so suffix we used), specifically: obje{}: foo.o, (UNIX), foo.exe.o (MinGW), foo.exe.obj (Windows) obja{}: foo.a.o (UNIX, MinGW), foo.lib.obj (Windows) objs{}: foo.so.o (UNIX), foo.dylib.o (Darwin), foo.dll.o (MinGW), foo.dll.obj (Windows)
2016-07-15Make .pdb ad hoc group member, installBoris Kolpackov1-1/+13
2016-06-27Add config.bin.target var/hint, use to decide libso{} install modeBoris Kolpackov1-4/+4
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-26Add notion of ad hoc group, use to handle DLL/import libraryBoris Kolpackov1-49/+116
2016-06-18Cosmetic changesBoris Kolpackov1-5/+5
2016-04-21Move target state reset back to recipe()Boris Kolpackov1-6/+4
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-46/+64
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-21Use hash map/set for targets/prerequisites to resolve key change issueBoris Kolpackov1-4/+9
2016-04-19Redesign src/out scopingBoris Kolpackov1-37/+58
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-4/+11
For example: v = [null] v = [string] abc v += ABC # abcABC
2016-04-02Add notion of lookup depth, fix bug with NULL overridesBoris Kolpackov1-1/+19
2016-03-31Clean up variable lookup interfacesBoris Kolpackov1-9/+8
2016-03-31Set part of variable override implementationBoris Kolpackov1-1/+4
2016-03-28New variable architectureBoris Kolpackov1-4/+1
2016-03-16Cleanup typed variable assignmentBoris Kolpackov1-1/+8
2016-03-08Fix uninitialized target state bugBoris Kolpackov1-2/+2
The state may be used (before the recipe is set) to decide where the mtime comes from (target or group).
2016-02-12<types>/<utility> scheme cleanupBoris Kolpackov1-58/+48
2016-01-27Rework default extension derivation, againBoris Kolpackov1-16/+22
2016-01-24Differentiate extension printing according to stream verbosityBoris Kolpackov1-0/+15
2016-01-23Clean up default target extension derivation logicBoris Kolpackov1-0/+10
2016-01-23Change target_key::ext from pointer to pointer to reference to pointerBoris Kolpackov1-4/+5
Probably can also do for the rest of the target_key members.
2016-01-21Tighten/clarify interfaceBoris Kolpackov1-0/+3
2016-01-09Update copyright yearBoris Kolpackov1-1/+1
2016-01-05Rename build directory/namespace to build2Boris Kolpackov1-0/+1084