CMake: Do not map all unknown build target types to "ExecutableType"

There is UtilityType now, so use that if there is no executable being
generated.

Change-Id: I9e8d512077b8352ec056b49c8db03644482b8fbc
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Tobias Hunger
2016-08-17 11:13:39 +02:00
parent 72991fe9f8
commit bda9bf6755
3 changed files with 14 additions and 5 deletions

View File

@@ -70,7 +70,7 @@ class CMAKE_EXPORT CMakeBuildTarget
public:
QString title;
QString executable; // TODO: rename to output?
TargetType targetType;
TargetType targetType = UtilityType;
QString workingDirectory;
QString sourceDirectory;
QString makeCommand;