aboutsummaryrefslogtreecommitdiff
path: root/build2/bin/target.cxx
AgeCommit message (Collapse)AuthorFilesLines
2016-11-26Add support for VC15Karen Arutyunov1-1/+1
2016-11-04Implement auxiliary data storage pad in targetBoris Kolpackov1-0/+2
2016-07-19Add import library target libi{}, make libs{} the DLLBoris Kolpackov1-0/+13
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-36/+69
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-01Port to MSVCKaren Arutyunov1-1/+1
2016-04-21Move target state reset back to recipe()Boris Kolpackov1-2/+0
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-0/+2
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-20/+44
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-01-27Rework default extension derivation, againBoris Kolpackov1-8/+7
2016-01-24Differentiate extension printing according to stream verbosityBoris Kolpackov1-0/+7
2016-01-23Clean up default target extension derivation logicBoris Kolpackov1-3/+15
2016-01-09Update copyright yearBoris Kolpackov1-1/+1
2016-01-05Rename build directory/namespace to build2Boris Kolpackov1-0/+190