Difference between revisions of "Scratchpad"
From XCDL (eXtensible Component Definition Language) Wiki
(Created page with "== make vs python == Two candidates for the build systems are considered: * make * something based on python, like SCons === '''make''' pros === * well-known * available on ...") |
(No difference)
|
Revision as of 09:04, 20 March 2015
make vs python
Two candidates for the build systems are considered:
- make
- something based on python, like SCons
make pros
- well-known
- available on all platforms (separate install on Windows, but available)
make cons
- considered not very efficient by some
python pros
- extending the build process is very powerful
python cons
- may face acceptance problems, like SCons
Thoughts
Only as internal builder, probably it does not matter. It was easier to start pyXCDL with make files, and performance was not a problem.
However, for writing recipes, like for BitBake, an object oriented approach in Python might have advantages.