diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-08-05 17:27:31 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-08-05 17:30:35 -0700 |
commit | 46e9b987ff689c1acfe29c7b980298408d1b95a6 (patch) | |
tree | 178f0fcc50a343c3528349ee2c8919c60392af3f /attoconf/classy.py | |
parent | d7bb91cd264300351e94e37a84b1de45f2312745 (diff) | |
download | attobuild-46e9b987ff689c1acfe29c7b980298408d1b95a6.tar.gz attobuild-46e9b987ff689c1acfe29c7b980298408d1b95a6.tar.bz2 attobuild-46e9b987ff689c1acfe29c7b980298408d1b95a6.tar.xz attobuild-46e9b987ff689c1acfe29c7b980298408d1b95a6.zip |
Add some stuff whose need became obvious when I tried to use it
Diffstat (limited to 'attoconf/classy.py')
-rw-r--r-- | attoconf/classy.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/attoconf/classy.py b/attoconf/classy.py index f390ebc..c7ecf5e 100644 --- a/attoconf/classy.py +++ b/attoconf/classy.py @@ -90,10 +90,25 @@ class ClassyProject(Project): def features(self): ''' Customizations for this package (--enable-*). ''' + self.add_help('Optional Features:', hidden=False) + # TODO add '--disable-option-checking' + self.help.add_option('--disable-FEATURE', + help='do not include FEATURE (same as --enable-FEATURE=no)', + hidden=False) + self.help.add_option('--enable-FEATURE', + help='include FEATURE (same as --enable-FEATURE=yes)', + hidden=False) def packages(self): ''' Settings related to dependencies (--with-*). ''' + self.add_help('Optional Packages:', hidden=False) + self.help.add_option('--with-PACKAGE', + help='use PACKAGE (same as --with-PACKAGE=yes)', + hidden=False) + self.help.add_option('--without-PACKAGE', + help='do not use PACKAGE (same as --with-PACKAGE=no)', + hidden=False) if 0: # not sure if really needed def tests(self): |