aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/projecttreehelper.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Remove servermode supportTobias Hunger2020-04-291-3/+4
| | | | | | | | | Task-number: QTCREATORBUG-23915 Change-Id: I2a58e1d6d95c28e25787722fa37448d86c4aebc9 Reviewed-by: Eike Ziller <eike.ziller@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CMake: Fix race/crash on project openTobias Hunger2019-08-091-0/+2
| | | | | | | | | | | When the filesystem scan takes longer than the cmake parsing, then resetData() was called on BuildDirManager by the CMakeBuildConfiguration before the CMakeProject had requested its data. Move some code back into CMakeProject to resolve this issue. Change-Id: Ib21bdd63fdca79c2ad39a7e060df438b456700b4 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CmakeProjectManager: Fix warning about redundant std::move()Christian Kandeler2019-07-251-2/+2
| | | | | Change-Id: If456698d62c0bdcd51992d62510e07d00a4b3fdf Reviewed-by: hjk <hjk@qt.io>
* CMake: Simplify buildkey generationTobias Hunger2019-06-201-1/+1
| | | | | | | | | | | | | Just use the target name as buildkey. This is unique in cmake projects, so there is no need to mangle the source directory into the whole thing. This is a problem since different readers might report different source directories. That will then result in RunConfigurations getting duplicated after switching the reader types. Task-number: QTCREATORBUG-22129 Change-Id: I849ab68f221d732341e98faa9a4e757d3a495b2a Reviewed-by: hjk <hjk@qt.io>
* CMake: Avoid a bit of useless processing when updating the project treeTobias Hunger2019-06-201-4/+1
| | | | | | | | | | | Do not pass around a list of filenodes with all the known header files. That list gets converted into a QSet<FilePath> and then that is used. Just generate the QSet<FilePath> directly and avoid that conversion. Change-Id: I2444a2a6b4a1600fe476e66673a1a2e9c8900764 Reviewed-by: Cristian Adam <cristian.adam@qt.io> Reviewed-by: hjk <hjk@qt.io>
* CMake: Add initial fileapireader classTobias Hunger2019-06-201-4/+12
| | | | | Change-Id: I620cba7cc1c2a5ac56789fa9770dce573c6b19cd Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* CMake: Move some code out of the ServerModeReaderTobias Hunger2019-06-131-0/+204
... so that it can get re-used in the to-be-written fileapi reader. Change-Id: I2693e6bb102d910eb505882bf3468c34272a5d04 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>