2 from waflib
.Configure
import conf
14 def example(bld
,*k
,**kw
):
15 kw
['features' ] = 'cxx cxxprogram'
17 kw
['use'] = kw
['use'] + [ 'ntk_images_static','ntk_static' ]
19 kw
['use'] = [ 'ntk_images_static','ntk_static' ]
20 kw
['includes'] = [ '.', '..' ]
21 kw
['install_path'] = None
26 if bld
.env
.ENABLE_TEST
:
27 bld
.example(source
='embed.cxx', target
='embed')
28 bld
.example(source
='glpuzzle.cxx', target
='glpuzzle', use
=['ntk_gl_static'])
29 bld
.example(source
='fractals.cxx fracviewer.cxx', target
='fractals', use
=['ntk_gl_static'])
30 bld
.example(source
='gl_overlay.cxx', target
='gl_overlay', use
=['ntk_gl_static'])
31 bld
.example(source
='shape.cxx', target
='shape', use
=['ntk_gl_static'])
32 bld
.example(source
='fullscreen.cxx', target
='fullscreen', use
=['ntk_gl_static'])
33 bld
.example(source
='cube.cxx', target
='cube', use
=['ntk_gl_static'])
34 bld
.example(source
='hello.cxx', target
='hello')
35 bld
.example(source
='input_choice.cxx', target
='input_choice')
36 bld
.example(source
='label.cxx', target
='label')
37 bld
.example(source
='native-filechooser.cxx', target
='native-filechooser')
38 bld
.example(source
='fonts.cxx', target
='fonts')
39 bld
.example(source
='editor.cxx', target
='editor')
40 bld
.example(source
='mandelbrot.cxx mandelbrot_ui.cxx', target
='mandelbrot')
41 bld
.example(source
='buttons.cxx', target
='buttons')
42 bld
.example(source
='sudoku.cxx', target
='sudoku')
43 bld
.example(source
='ask.cxx', target
='ask')
44 bld
.example(source
='pixmap.cxx', target
='pixmap')
45 bld
.example(source
='cursor.cxx', target
='cursor')
46 bld
.example(source
='line_style.cxx', target
='line_style')
47 bld
.example(source
='adjuster.cxx', target
='adjuster')
48 bld
.example(source
='list_visuals.cxx', target
='list_visuals')
49 bld
.example(source
='subwindow.cxx', target
='subwindow')
50 bld
.example(source
='resize.cxx', target
='resize')
51 bld
.example(source
='image.cxx', target
='image')
52 bld
.example(source
='file_chooser.cxx', target
='file_chooser')
53 bld
.example(source
='tiled_image.cxx', target
='tiled_image')
54 bld
.example(source
='navigation.cxx', target
='navigation')
55 bld
.example(source
='device.cxx', target
='device')
56 bld
.example(source
='utf8.cxx', target
='utf8')
57 bld
.example(source
='overlay.cxx', target
='overlay')
58 bld
.example(source
='arc.cxx', target
='arc')
59 bld
.example(source
='cairo_test.cxx', target
='cairo_test')
60 bld
.example(source
='browser.cxx', target
='browser')
61 bld
.example(source
='colbrowser.cxx', target
='colbrowser')
62 bld
.example(source
='rotated_text.cxx', target
='rotated_text')
63 bld
.example(source
='inactive.cxx', target
='inactive')
64 bld
.example(source
='threads.cxx', target
='threads')
65 bld
.example(source
='demo.cxx', target
='demo')
66 bld
.example(source
='menubar.cxx', target
='menubar')
67 bld
.example(source
='input.cxx', target
='input')
68 bld
.example(source
='message.cxx', target
='message')
69 bld
.example(source
='preferences.cxx', target
='preferences')
70 bld
.example(source
='tree.cxx', target
='tree')
71 bld
.example(source
='output.cxx', target
='output')
72 bld
.example(source
='scroll.cxx', target
='scroll')
73 bld
.example(source
='symbols.cxx', target
='symbols')
74 bld
.example(source
='tabs.cxx', target
='tabs')
75 bld
.example(source
='blocks.cxx', target
='blocks')
76 bld
.example(source
='keyboard.cxx keyboard_ui.cxx', target
='keyboard')
77 bld
.example(source
='iconize.cxx', target
='iconize')
78 bld
.example(source
='radio.cxx', target
='radio')
79 bld
.example(source
='resizebox.cxx', target
='resizebox')
80 bld
.example(source
='fast_slow.cxx', target
='fast_slow')
81 bld
.example(source
='boxtype.cxx', target
='boxtype')
82 bld
.example(source
='help.cxx', target
='help')
83 bld
.example(source
='bitmap.cxx', target
='bitmap')
84 bld
.example(source
='tile.cxx', target
='tile')
85 bld
.example(source
='color_chooser.cxx', target
='color_chooser')
86 bld
.example(source
='valuators.cxx', target
='valuators')
87 bld
.example(source
='doublebuffer.cxx', target
='doublebuffer')
88 bld
.example(source
='pixmap_browser.cxx', target
='pixmap_browser')
89 bld
.example(source
='curve.cxx', target
='curve')
90 bld
.example(source
='minimum.cxx', target
='minimum')
91 bld
.example(source
='button.cxx', target
='button')
92 bld
.example(source
='pack.cxx', target
='pack')
93 bld
.example(source
='checkers.cxx', target
='checkers')
94 bld
.example(source
='table.cxx', target
='table')