projects
/
mass-build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make the prefix options optional; fix SVN for the case that the parent folder does...
[mass-build.git]
/
build_system.py
diff --git
a/build_system.py
b/build_system.py
index bdca10aa66b144cffb39c4327930b89e47898fc6..1c0411bc02739d78068b3ebdafe0ec0dc1a941cc 100644
(file)
--- 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
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
# 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:
# if auto-debuild is available, provide a wrapper for it
try: