Commit Graph

5 Commits

Author SHA1 Message Date
hjk
eedb702bb9 Meson: Make spacing and #include ordering a bit more consistent
Not 100%, but a step forward.

Change-Id: I6957edbd24c1652b228a96a68424b857603aae45
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2020-11-03 09:18:10 +00:00
Alexis Jeandet
36632330ca Meson: Only trigger meson introspection files parsesing on file change
FileSystemWatcher was triggered before meson-info.json was written which most of the
time did just ignore last changes. When meson plugin is parsing the project, it discardes
all new parsing requests.

Change-Id: I20c8e95e5ed330628614a9fe1485394fd6b9fde8
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-10-27 12:51:20 +00:00
hjk
61bfd32438 ProjectExplorer: Introduce a ProjectConfiguration::kit() function
For convenience, and use it in some places.

Change-Id: I8f7cb502b37b2fbf4cf2d17cac9c6299558332dc
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
2020-09-09 06:27:21 +00:00
Alexis Jeandet
4dfb6f8c74 Meson: Add file watcher to keep QTC project in sync with introspection data
The most common case is when building triggers a new configuration process
which changes introspection data.

Change-Id: I7b23df4089898bb66a634b29809775d26011b315
Reviewed-by: hjk <hjk@qt.io>
2020-08-06 07:44:03 +00:00
Alexis Jeandet
77d7bb5014 Meson build plugin initial support
Most basic project management is implemented:
- Project config/build
- Build options accessible to user
- Lists most build targets
- Meson and Ninja added to kit setup
- Basic project file tree with files known by Meson
- Some basic meson and ninja process output parsing
- Some project templates

Missing features, that will come later:
- Configurable project tree layout
- Locators for Meson
- Build importer
- Access to Machine files for better user fine tuning
- ...

Fixes: QTCREATORBUG-18117
Change-Id: I2811e71562c113fb0fc6b6177bcf0698fa71ef63
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2020-06-08 09:55:17 +00:00