3 env = Environment(CXXFLAGS=['-O0',
12 '-Wno-unused-parameter',
18 CPPPATH=['tinygettext', '.'])
20 # env.ParseConfig("sdl-config --cflags --libs")
21 # env['CPPDEFINES'] += HAVE_SDL
23 libtinygettext = env.StaticLibrary('tinygettext/tinygettext',
24 ['tinygettext/tinygettext.cpp',
25 'tinygettext/language.cpp',
26 'tinygettext/plural_forms.cpp',
27 'tinygettext/dictionary.cpp',
28 'tinygettext/dictionary_manager.cpp',
29 'tinygettext/unix_file_system.cpp',
30 'tinygettext/po_parser.cpp',
31 'tinygettext/iconv.cpp',
32 'tinygettext/log.cpp'])
34 env.Program('test/tinygettext_test', ['test/tinygettext_test.cpp', libtinygettext])
35 env.Program('test/po_parser_test', ['test/po_parser_test.cpp', libtinygettext])