CMake: Display all targets in project settings

All targets should be displayed, even without
binary artifacts, otherwise it's not possible
to select a CMake custom target to build.

Change-Id: I4b7640f460a248fd2d4b56428c2c8da3b13b9103
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Yuchen Deng <loaden@gmail.com>
This commit is contained in:
Stanislav Ionascu
2013-02-16 14:18:39 +01:00
parent 1566582a8c
commit ab8878fdd1
3 changed files with 5 additions and 8 deletions

View File

@@ -88,7 +88,7 @@ public:
ProjectExplorer::ProjectNode *rootProjectNode() const;
QStringList files(FilesMode fileMode) const;
QStringList buildTargetTitles() const;
QStringList buildTargetTitles(bool runnable = false) const;
QList<CMakeBuildTarget> buildTargets() const;
bool hasBuildTarget(const QString &title) const;