diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2012-04-14 00:13:57 +0400 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2012-04-14 00:13:57 +0400 |
| commit | 2e13a85e396570d0492ffd9dac9fefee59524da8 (patch) | |
| tree | cad88f795bedf4c6eb9962741c6a80a29624ef03 /wscript | |
| parent | 3748579d0e87ab4166868d16fb0c05dd1d116c3b (diff) | |
| download | node-augeas-2e13a85e396570d0492ffd9dac9fefee59524da8.tar.gz | |
Initial replete commit. Wrappers for libaugeas. aug_insert() and
aug_match() are not supported yet.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +def set_options(opt): + opt.tool_options('compiler_cxx') + +def configure(conf): + conf.check_tool('compiler_cxx') + conf.check_tool('node_addon') + conf.check_cfg(package='augeas', + atleast_version='0.9', + args='--cflags --libs', + mandatory=True) +# TODO: if version >= 0.10 we need libxml (namely -I /usr/include/libxml2) + +def build(bld): + obj = bld.new_task_gen('cxx', 'shlib', 'node_addon') + obj.target = 'libaugeas' + obj.source = 'libaugeas.cc' + obj.uselib = ['AUGEAS'] + |
