diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-12-05 15:24:09 +0100 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2016-12-13 08:33:04 +0000 |
commit | 602ad72d42797b9d40c31f52d5937319a0d852d9 (patch) | |
tree | b93aee897a4218be2ee404295d56e34e98a4b5f0 /src/plugins/cpptools/cppprojectfilecategorizer.cpp | |
parent | 95fa59dd6cef3967ac9a22c51eff0256c6004e98 (diff) | |
download | qt-creator-602ad72d42797b9d40c31f52d5937319a0d852d9.tar.gz |
CppTools: Refactor ProjectPartBuilder
...and add some basic tests.
Introduce the abstractions ProjectInterface and ToolChainInterface in
order to break the dependency to the ProjectExplorer. Also, some simple
logic can go there to simplify the (Base)ProjectPartBuilder.
Change-Id: I6c50a1804ce62098b87109931eb171f5c2542937
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppprojectfilecategorizer.cpp')
-rw-r--r-- | src/plugins/cpptools/cppprojectfilecategorizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cpptools/cppprojectfilecategorizer.cpp b/src/plugins/cpptools/cppprojectfilecategorizer.cpp index 808448c1db..bf0666e9af 100644 --- a/src/plugins/cpptools/cppprojectfilecategorizer.cpp +++ b/src/plugins/cpptools/cppprojectfilecategorizer.cpp @@ -41,6 +41,7 @@ ProjectFileCategorizer::ProjectFileCategorizer(const QString &projectPartName, + (m_objcxxSources.isEmpty() ? 0 : 1); } +// TODO: Always tell the language version? QString ProjectFileCategorizer::partName(const QString &languageName) const { if (hasMultipleParts()) |