X-Git-Url: https://git.ralfj.de/mass-build.git/blobdiff_plain/5144ec41af16647ac2cd974230a753ee2683f87d..d81d19eaf43a265baba2b9d8e97d771ee66cde01:/build_system.py diff --git a/build_system.py b/build_system.py index bdca10a..1c0411b 100644 --- a/build_system.py +++ b/build_system.py @@ -25,9 +25,9 @@ class CMake: if waitAfterConfig: raw_input('Configuration done. Hit "Enter" to build the project. ') # run compilation - subprocess.check_call(self.config['buildCmdPrefix'] + ['make', '-j'+str(self.config['jobs'])]) + subprocess.check_call(self.config.get('buildCmdPrefix', []) + ['make', '-j'+str(self.config['jobs'])]) # run installation - subprocess.check_call(self.config['installCmdPrefix'] + ['make', 'install']) + subprocess.check_call(self.config.get('installCmdPrefix', []) + ['make', 'install']) # if auto-debuild is available, provide a wrapper for it try: