Add method to verify existence of CMake targets

* Add a simple method to test whether a CMake target exists.

Reviewed-by: dt
This commit is contained in:
Tobias Hunger
2010-01-14 15:38:31 +01:00
parent ea9f96a395
commit b1e1f44a8d
3 changed files with 16 additions and 2 deletions

View File

@@ -90,6 +90,7 @@ public:
virtual QStringList files(FilesMode fileMode) const;
QStringList targets() const;
bool hasTarget(const QString &title) const;
CMakeTarget targetForTitle(const QString &title);