sbt/sbt — pull request #976 by gkossakowski (2013-11-12 13:07:31+00:00)
Title: Make recompilation on macro definition optional

Introduce a new incremental compiler option that controls
incremental compiler's treatment of macro definitions and their clients.
The current strategy is that whenever a source file containing a macro
definition is touched it will cause recompilation of all direct
dependencies of that file.

That strategy has proven to be too conservative for some projects like
Scala compiler of specs2 leading to too many source files being recompiled.
We make this behavior optional by introducing a new option
`recompileOnMacroDef` in `IncOptions` class. The default value is set to
`true` which preserves the previous behavior.

---

The f79292e and 513f56c are needed due to problem with case classes and binary compatibility. See [this](https://groups.google.com/d/topic/sbt-dev/3VJEnuO9ktM/discussion) discussion for details.