Skip to content
Newer
Older
100644 18 lines (15 sloc) 611 Bytes
73e1e66 @olalonde initial commit, minimal functionnality
authored Mar 1, 2011
1 def set_options(opt):
2 opt.tool_options("compiler_cxx")
3
4 def configure(conf):
5 conf.check_tool("compiler_cxx")
6 conf.check_tool("node_addon")
7 # @oli
8 conf.check_cfg(package='gtkmm-2.4', args='--cflags --libs', uselib_store='LIBGTKMM')
9 conf.check_cfg(package='libnotifymm-1.0', args='--cflags --libs', uselib_store='LIBNOTIFYMM')
10
11 def build(bld):
12 obj = bld.new_task_gen("cxx", "shlib", "node_addon")
13 obj.cxxflags = ["-g", "-D_FILE_OFFSET_BITS=64", "-D_LARGEFILE_SOURCE", "-Wall"]
14 obj.target = "gtknotify"
15 obj.source = "src/node_gtknotify.cpp"
16 # @oli
17 obj.uselib = ['LIBGTKMM', 'LIBNOTIFYMM']
Something went wrong with that request. Please try again.