Commit Graph

7 Commits

Author SHA1 Message Date
KonaBlend
8ae78da74e build system: fix open file leak 2016-04-08 10:39:27 -04:00
KonaBlend
ca686f2ff8 build system: consolidate puts_runq and $verbose 2016-03-28 05:32:00 -04:00
KonaBlend
693de4f112 build system: fix moc dependencies
- fix is a combination of 95c2edd3 and cee1debe progression
- 95c2edd3 masked a cee1debe regression

When pch is enabled we must establish a .moco => .moc dependency
(regressed by cee1debe).

Other changes are cosmetic.
2016-03-27 17:21:58 -04:00
Moritz Bunkus
95c2edd329 build system: fix dependencies for pre-compiled headers
The error was that a dependency was set from the source files to the
pre-compiled header (e.g. src/mkvmerge/mkvmerge.cpp =>
src/common/common_pch.h.pch). The dependency must be for the object
file, though, otherwise the source files will always be considered to be
out of date.
2016-03-26 13:21:59 +01:00
Moritz Bunkus
98e5bda5e9 build system: fix indentation 2016-03-26 13:10:31 +01:00
Moritz Bunkus
7e600c7e70 build system: centralize runq output
That way adjusting to a uniform width is easier.
2016-03-26 12:34:52 +01:00
KonaBlend
cee1debeaf add explicit pch support
- convert gcc to use -include
- add clang support for -include
- new target namespace: pch (invoke rake -T or pch:overview for details)
- move pch logic into rake.d/pch.rb
- convert a few troublesome source files from ISO-8859-1 -> UTF-8
- add persistent config: config.pch.json
- add TTY support for running commands with filters (keeps pretty
  color diagnostics even when filtering compiler stdout/stderr)
- for fun try:

        drake "pch[pretty]"
        drake -j4
        drake pch:status
2016-03-26 03:52:21 -04:00