D18202: Meson build options introspection

Daniel Mensinger noreply at phabricator.kde.org
Fri Jan 11 23:10:01 GMT 2019


dmensinger created this revision.
Herald added a project: KDevelop.
Herald added a subscriber: kdevelop-devel.
dmensinger requested review of this revision.

REVISION SUMMARY
  This adds basic meson introspection support based on the meson API
  for 0.50.0 (current meson master branch).
  
  This patch also adds a GUI for changing all build options for a
  build directory.

TEST PLAN
  For a new build directory:
  
  - Use the development version of meson
  - Make a new build directory and set the meson executable in the advanced options
  - The default build options should load after this
  - Play around with the options
  - Click OK and manually check with meson configure that the build options are correct
  
  For an existing build directory:
  
  - Open the meson project configuration
  - The current options should be complete and match the actual values from meson configure
  - Changing and aplying changes should also update the meson configuration
  - Nothing should segfault :)

REPOSITORY
  R32 KDevelop

BRANCH
  mesonBuildOpts

REVISION DETAIL
  https://phabricator.kde.org/D18202

AFFECTED FILES
  plugins/meson/CMakeLists.txt
  plugins/meson/mesonbuilder.cpp
  plugins/meson/mesonbuilder.h
  plugins/meson/mesonconfig.cpp
  plugins/meson/mesonconfig.h
  plugins/meson/mesonintrospectjob.cpp
  plugins/meson/mesonintrospectjob.h
  plugins/meson/mesonjob.cpp
  plugins/meson/mesonmanager.cpp
  plugins/meson/mesonoptions.cpp
  plugins/meson/mesonoptions.h
  plugins/meson/settings/mesonadvancedsettings.cpp
  plugins/meson/settings/mesonadvancedsettings.h
  plugins/meson/settings/mesonadvancedsettings.ui
  plugins/meson/settings/mesonconfigpage.cpp
  plugins/meson/settings/mesonconfigpage.h
  plugins/meson/settings/mesonconfigpage.ui
  plugins/meson/settings/mesonlisteditor.cpp
  plugins/meson/settings/mesonlisteditor.h
  plugins/meson/settings/mesonlisteditor.ui
  plugins/meson/settings/mesonnewbuilddir.cpp
  plugins/meson/settings/mesonnewbuilddir.h
  plugins/meson/settings/mesonnewbuilddir.ui
  plugins/meson/settings/mesonoptionbaseview.cpp
  plugins/meson/settings/mesonoptionbaseview.h
  plugins/meson/settings/mesonoptionbaseview.ui
  plugins/meson/settings/mesonoptionsview.cpp
  plugins/meson/settings/mesonoptionsview.h
  plugins/meson/settings/mesonoptionsview.ui

To: dmensinger
Cc: kdevelop-devel, glebaccon, hase, antismap, iodelay, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20190111/97d50c04/attachment-0001.html>


More information about the KDevelop-devel mailing list