Create IMPORTED CMake targets for executables.
authorStephen Kelly <stephen.kelly@kdab.com>
Sun, 22 Jul 2012 19:40:22 +0000 (21:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 25 Jul 2012 11:59:15 +0000 (13:59 +0200)
commit189a5d8af12788a30121210066de647a6dc3a167
treeaebc213c29a70d00e704f9d9679a1f47622c7b5a
parent95191658d0b71017c8fcb19058ed900e97d8f81c
Create IMPORTED CMake targets for executables.

Although IMPORTED executables are not extra special, this is more future-proof
in terms of both future CMake features and future our needs - it is possible
that we would want to add a property to an executable at TARGET scope, which
would not be possible if it is just a path.

Change-Id: I649c601e004b21603c5fa97de0b7c397813ed68d
Reviewed-by: Brad King <brad.king@kitware.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/Qt5CoreConfigExtras.cmake.in
src/corelib/Qt5CoreMacros.cmake
src/dbus/Qt5DBusConfigExtras.cmake.in
src/dbus/Qt5DBusMacros.cmake
src/widgets/Qt5WidgetsConfigExtras.cmake.in
src/widgets/Qt5WidgetsMacros.cmake