diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2014-04-06 19:56:38 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2014-04-06 19:56:38 +0300 |
commit | ac81594952501b2e7e7f2c59a972503437954f51 (patch) | |
tree | f3d0b3da031d7efaf263f384a49081b65fee8e69 /ninjabackend.py | |
parent | 4084e7213ec1c3a240d7d4509fec4b7d24f5f95d (diff) | |
download | meson-ac81594952501b2e7e7f2c59a972503437954f51.zip meson-ac81594952501b2e7e7f2c59a972503437954f51.tar.gz meson-ac81594952501b2e7e7f2c59a972503437954f51.tar.bz2 |
Added capability to compile sources files with moc, too.
Diffstat (limited to 'ninjabackend.py')
-rw-r--r-- | ninjabackend.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ninjabackend.py b/ninjabackend.py index 02120b9..d29ddb4 100644 --- a/ninjabackend.py +++ b/ninjabackend.py @@ -15,7 +15,10 @@ import backends import environment import build +import mlog from meson_install import InstallData +from build import InvalidArguments +from coredata import MesonException import os, sys, shutil, pickle if environment.is_windows(): @@ -811,6 +814,8 @@ class NinjaBackend(backends.Backend): src_deps.append(outfilename) else: other_deps.append(outfilename) + if rule.name == 'moc_src_compile': #HACK + src_deps.append(infilename) return (src_deps, other_deps) def generate_cppcheck_target(self, outfile): |