diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-10-13 23:03:25 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-10-13 23:03:25 +0300 |
commit | 7fa79797882a0df9c4f711b4bdb65bc0022e8ae6 (patch) | |
tree | ed35a2e3f314746097d6a2d405ba027cdafdcf0e /mesongui.py | |
parent | f6d21a00d7fb97d89dfbee25aa314de7160ee8d3 (diff) | |
download | meson-7fa79797882a0df9c4f711b4bdb65bc0022e8ae6.zip meson-7fa79797882a0df9c4f711b4bdb65bc0022e8ae6.tar.gz meson-7fa79797882a0df9c4f711b4bdb65bc0022e8ae6.tar.bz2 |
Can enable or disable the use of pch.
Diffstat (limited to 'mesongui.py')
-rwxr-xr-x | mesongui.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mesongui.py b/mesongui.py index 9d13e19..7d97028 100755 --- a/mesongui.py +++ b/mesongui.py @@ -245,11 +245,17 @@ class OptionForm: combo.currentTextChanged.connect(self.build_type_changed) self.form.addRow('Build type', combo) strip = QCheckBox("") + strip.setChecked(self.coredata.strip) strip.stateChanged.connect(self.strip_changed) self.form.addRow('Strip on install', strip) coverage = QCheckBox("") + coverage.setChecked(self.coredata.coverage) coverage.stateChanged.connect(self.coverage_changed) self.form.addRow('Enable coverage', coverage) + pch = QCheckBox("") + pch.setChecked(self.coredata.use_pch) + pch.stateChanged.connect(self.pch_changed) + self.form.addRow('Enable pch', pch) def build_type_changed(self, newtype): self.coredata.buildtype = newtype @@ -268,6 +274,13 @@ class OptionForm: ns = True self.coredata.coverage = ns + def pch_changed(self, newState): + if newState == 0: + ns = False + else: + ns = True + self.coredata.use_pch = ns + class ProcessRunner(): def __init__(self, rundir, cmdlist): self.cmdlist = cmdlist |