[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ESPResSo-devel] Simplified adding features
From: |
Olaf Lenz |
Subject: |
[ESPResSo-devel] Simplified adding features |
Date: |
Tue, 14 Feb 2012 16:13:30 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 |
Hi everybody!
As of now, handling features (a.k.a. compiler switches) in ESPResSo has
become significantly simpler for developers.
Instead of having to add a new feature in config.h, config.c,
myconfig-sample.h, etc., you now have to modify only the single file
src/features.def. In this files, the features are defined in a specific
simple way. Just have a look at the file, I hope it is self-explanatory.
From this file, the above files are automatically generated via a couple
of Python scripts.
What is more, the feature definitions can be used to do a number of
automatic checks:
* Does Jenkins actually compile all features (i.e. are all features used
in testsuite/configs/myconfig-*.h?)
* Are all features documented?
* Are all compiler switches that are used in the code actually defined
in features.def?
* Are all tests in the testsuite run by Jenkins?
Using this, I have already identified some problems in the code. I will
bug some of you with them during the next days. Stay tuned.
Olaf
--
Dr. rer. nat. Olaf Lenz
Institut für Computerphysik, Pfaffenwaldring 27, D-70569 Stuttgart
Phone: +49-711-685-63607
olenz.vcf
Description: Vcard
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ESPResSo-devel] Simplified adding features,
Olaf Lenz <=