summaryrefslogtreecommitdiffstats
path: root/src/ninja.h
Commit message (Collapse)AuthorAgeFilesLines
* Factor out State struct from ninja_jumble.cc into its header/source files.Thiago Farina2011-09-031-67/+0
| | | | | | This was a TODO in src/ninja_jumble.cc. Now this task is completed. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Implement default target statementsPeter Collingbourne2011-08-311-0/+3
| | | | | | This introduces a new directive, the default target statement, which may be used to control the list of targets built by default (i.e. if no target is named on the command line).
* Move RealDiskInterface class to disk_interface.h.Thiago Farina2011-08-251-10/+0
| | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Factor out DiskInterface class into its own source/header files.Thiago Farina2011-08-101-26/+1
| | | | | | This is a TODO in src/ninja_jumble.cc Signed-off-by: Thiago Farina <tfarina@chromium.org>
* ninja: Split StatCache struct into its own header file.Thiago Farina2011-05-311-16/+4
| | | | | | Note: This is a TODO in ninja_jumble.cc. Signed-off-by: Thiago Farina <tfarina@chromium.org>
* move ReadFile into utilEvan Martin2011-05-241-2/+0
|
* fix unit testEvan Martin2011-05-021-1/+1
|
* Return non-zero status when errors occur.Nicolas Despres2011-05-021-3/+5
| | | | | | Clean all was not returning non-zero when an error occur (like when failing to remove a directory). This patch fix the problem and add a test for it.
* Add a test for the clean tool.Nicolas Despres2011-05-021-0/+5
| | | | It also fix a bug about the count of removed file reported.
* add test for RootNodes(); fix commentEvan Martin2011-05-011-1/+1
|
* fix warnings on Mac 10.5Arnaud Gelas2011-04-301-0/+3
| | | | structures had virtual functions but not virtual destructors
* add doxygen-compatibile comments to most classesEvan Martin2011-04-291-4/+16
|
* Add the 'targets' tool.Nicolas Despres2011-04-261-0/+3
| | | | | | | | | | | This tool list targets by depth or by rule. It can be useful: - for shell completion script ; - to know what are the primary targets: ninja -t targets depth 1 ; - to know targets that are linked: ninja -t rule link ; - when debugging. It works by first listing the root nodes and then following the input nodes of their in edge.
* Document.Nicolas Despres2011-04-261-0/+2
|
* add copyrightsEvan Martin2011-02-061-0/+14
|
* split out graph into its own headerEvan Martin2011-01-081-101/+8
|
* state holds build log, not configEvan Martin2011-01-071-0/+1
|
* use hash_map for paths; much faster buildsEvan Martin2010-12-171-2/+2
|
* move src into subdirEvan Martin2010-12-051-0/+164