diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-09-18 20:25:47 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-09-18 21:51:57 -0700 |
commit | 61d11f34886e1102631681a462aae4e77e56dc28 (patch) | |
tree | 8f3d1a1a37e5dbe0ee6b76f8ce12484085d0988e /configure | |
parent | 14347ea3be189918fef03b766c97391b7ff33cdd (diff) | |
download | tmwa-61d11f34886e1102631681a462aae4e77e56dc28.tar.gz tmwa-61d11f34886e1102631681a462aae4e77e56dc28.tar.bz2 tmwa-61d11f34886e1102631681a462aae4e77e56dc28.tar.xz tmwa-61d11f34886e1102631681a462aae4e77e56dc28.zip |
Update for cross-compilation
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -38,7 +38,7 @@ from attoconf.lib.c import Cxx from attoconf.lib.install import Install from attoconf.lib.config_hash import ConfigHash from attoconf.lib.templates import Templates -from attoconf.types import enum, filepath +from attoconf.types import enum, filepath, ShellList yesno = enum('yes', 'no') @@ -85,6 +85,9 @@ class Configuration(Cxx, Install, ConfigHash, Templates): # http://code.google.com/p/googletest/wiki/FAQ#Why_is_it_not_recommended_to_install_a_pre-compiled_copy_of_Goog type=filepath, check=lambda build, GTEST_DIR: None, help='Location of Google Test sources, must contain src/gtest-all.cc (linking to a precompiled library is NOT supported)', hidden=False) + self.add_option('GDB', init=['gdb'], + type=ShellList, check=lambda build, GDB: None, + help='debugger to run tests', hidden=False) def add_bool_feature(self, arg, hidden=False, **kwargs): positive = '--enable-' + arg |