Ninja: run cmake-gui for target edit_cache

Ninja can't run commands interactively,
this will never work with ninja by design,
so start cmake-gui instead.

http://cmake.org/Bug/view.php?id=14544
Revert "CMake 2.8.12.1"

This reverts commit c438cdb5869aa00eb8426924152d2d5f3bd6f3c5.
Merge branch 'release' into test-release
Merge topic 'test-release' into next

d53466e Merge branch 'release' into test-release
5eed0f4 Revert "CMake 2.8.12.1"
Automoc: Add directory-level COMPILE_DEFINITIONS to command line (#14535).

Extract FinalizeTargetCompileDefinitions from cmGeneratorTarget. call
it early in the generate step to copy the directory-level compile
definitions into the cmTarget.
Merge topic 'ninja-edit-cache' into next

0a39685 Ninja: run cmake-gui for target edit_cache
Merge topic 'fix-automoc-compile-definitions' into next

5ab51dd Automoc: Add directory-level COMPILE_DEFINITIONS to command line (#14535).