Commit Graph

10 Commits

Author SHA1 Message Date
Christian Kandeler
925e6cb18e Remove unused members from some classes
Change-Id: I9b63bf32feaef36decc91d073eb82b2abfd2eabb
Reviewed-by: hjk <hjk@qt.io>
2020-04-23 10:41:48 +00:00
Tobias Hunger
3bb44dc1c3 Nim: Fix nim trying to parse several times
Prevent Nim from starting to parse several times simultaniously.

Change-Id: I45dd747419585506a0c0e10af8171fdfb4d6eb6b
Reviewed-by: hjk <hjk@qt.io>
2020-03-02 13:27:30 +00:00
Filippo Cucchetto
1ccb2b36e2 Nim: Fix build broken target info on Windows
There's no need for adding .exe suffix. Further more project file path is
easier obtained through projectFilePath()

Change-Id: I3f512dfea1ca32b5f63dfcdd19cac112ef5e3c1e
Reviewed-by: hjk <hjk@qt.io>
2020-02-17 07:58:13 +00:00
Filippo Cucchetto
a640eb8560 Nim: workaround to project parsing loops
Nimble creates temporaries files when querying the task list
for the project files. For this reason we simply exclude
requesting a project reparse when the root directory changes

Change-Id: I6f1af3f073b056ecb2a7273fcb3df0cb44a1b53b
Reviewed-by: hjk <hjk@qt.io>
2020-02-17 07:58:06 +00:00
hjk
7827eb92ce Nim: Adapt to recent buildconfiguration changes
Change-Id: Ib1d893f9e6d7c6c78bd4dded7a7d6434e6727a0c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-11-29 15:01:30 +00:00
hjk
c2127c9ec4 ProjectExplorer: Introduce and use a Target::buildSystemUpdated signal
Change-Id: I497d46866146600a1ed9162bd720c574ee4d4769
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-21 13:08:06 +00:00
hjk
7dec498323 ProjectExplorer: Make more use of available convenience functions
Change-Id: I53089c5e2138b1c9943d0dbff3857a2dff8ea233
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-21 07:40:07 +00:00
hjk
2758682723 ProjectExplorer: Move BuildSystem owership to BuildConfiguration
... or Target.

This patch moves build system from conceptually "one per project"
to "one per target (i.e. per project-and-kit)" or "per
BuildConfigurations" for targets where the builds differ
significantly.

Building requires usually items from the kit (Qt version, compiler,
...) so a target-agnostic build is practically almost always wrong.

Moving the build system to the target also has the potential
to solve issues caused by switching targets while parsing, that
used Project::activeTarget() regularly, with potentially different
results before and after the switch.

This patch might create performance/size regressions when several
targets are set up per project as the build system implementation's
internal data are duplicated in this case.

The idea is to fix that by sharing per-project pieces again in
the project implementation once these problems occur.

Change-Id: I87f640ce418b93175b5029124eaa55f3b8721dca
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2019-11-19 11:05:52 +00:00
Christian Stenger
deeed3dcd2 Nim: Fix compile
Change-Id: I19753d929dc2ed9594f4d5f0e4daba18b12b868f
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2019-11-05 07:23:06 +00:00
Filippo Cucchetto
c75c4b2d0e Nim: Add support for the nimble build system
Change-Id: Id3bd977f14bc9d2ec3fa92e162238bbff0513de1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2019-11-04 16:35:13 +00:00