forked from qt-creator/qt-creator
Import library target from cmake project.
Added library flag to CMakeBuildTarget struct which is set when parsing the cbp file. This flag is then used to make sure no runconfiguration is created for library targets. Merge-request: 136 Reviewed-by: dt <qtc-committer@nokia.com>
This commit is contained in:
@@ -106,6 +106,8 @@ void CMakeTarget::updateRunConfigurations()
|
||||
}
|
||||
|
||||
foreach(const CMakeBuildTarget &ct, cmakeProject()->buildTargets()) {
|
||||
if (ct.library)
|
||||
continue;
|
||||
if (ct.executable.isEmpty())
|
||||
continue;
|
||||
if (ct.title.endsWith("/fast"))
|
||||
|
||||
Reference in New Issue
Block a user