mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
expand tabs to spaces in wscript
This commit is contained in:
parent
580520b12f
commit
c37040ef01
1 changed files with 48 additions and 48 deletions
|
|
@ -29,46 +29,46 @@ path_prefix = 'libs/canvas/'
|
||||||
|
|
||||||
canvas_sources = [
|
canvas_sources = [
|
||||||
'arc.cc',
|
'arc.cc',
|
||||||
'arrow.cc',
|
'arrow.cc',
|
||||||
'canvas.cc',
|
'canvas.cc',
|
||||||
'circle.cc',
|
'circle.cc',
|
||||||
'curve.cc',
|
'curve.cc',
|
||||||
'debug.cc',
|
'debug.cc',
|
||||||
'item.cc',
|
'item.cc',
|
||||||
'fill.cc',
|
'fill.cc',
|
||||||
'flag.cc',
|
'flag.cc',
|
||||||
'group.cc',
|
'group.cc',
|
||||||
'image.cc',
|
'image.cc',
|
||||||
'line.cc',
|
'line.cc',
|
||||||
'line_set.cc',
|
'line_set.cc',
|
||||||
'lookup_table.cc',
|
'lookup_table.cc',
|
||||||
'outline.cc',
|
'outline.cc',
|
||||||
'pixbuf.cc',
|
'pixbuf.cc',
|
||||||
'poly_item.cc',
|
'poly_item.cc',
|
||||||
'poly_line.cc',
|
'poly_line.cc',
|
||||||
'polygon.cc',
|
'polygon.cc',
|
||||||
'rectangle.cc',
|
'rectangle.cc',
|
||||||
'root_group.cc',
|
'root_group.cc',
|
||||||
'text.cc',
|
'text.cc',
|
||||||
'types.cc',
|
'types.cc',
|
||||||
'utils.cc',
|
'utils.cc',
|
||||||
'wave_view.cc'
|
'wave_view.cc'
|
||||||
]
|
]
|
||||||
|
|
||||||
def options(opt):
|
def options(opt):
|
||||||
autowaf.set_options(opt)
|
autowaf.set_options(opt)
|
||||||
|
|
||||||
def configure(conf):
|
def configure(conf):
|
||||||
conf.load ('compiler_cxx')
|
conf.load ('compiler_cxx')
|
||||||
autowaf.configure(conf)
|
autowaf.configure(conf)
|
||||||
autowaf.check_pkg(conf, 'cairomm-1.0', uselib_store='CAIROMM', atleast_version='1.8.4')
|
autowaf.check_pkg(conf, 'cairomm-1.0', uselib_store='CAIROMM', atleast_version='1.8.4')
|
||||||
|
|
||||||
def build(bld):
|
def build(bld):
|
||||||
# Library
|
# Library
|
||||||
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
|
if bld.is_defined ('INTERNAL_SHARED_LIBS'):
|
||||||
obj = bld.shlib(features = 'cxx cxxshlib', source=canvas_sources)
|
obj = bld.shlib(features = 'cxx cxxshlib', source=canvas_sources)
|
||||||
else:
|
else:
|
||||||
obj = bld.stlib(features = 'cxx cxxstlib', source=canvas_sources)
|
obj = bld.stlib(features = 'cxx cxxstlib', source=canvas_sources)
|
||||||
obj.cxxflags = [ '-fPIC' ]
|
obj.cxxflags = [ '-fPIC' ]
|
||||||
obj.cflags = [ '-fPIC' ]
|
obj.cflags = [ '-fPIC' ]
|
||||||
|
|
||||||
|
|
@ -83,15 +83,15 @@ def build(bld):
|
||||||
obj.defines = [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
|
obj.defines = [ 'PACKAGE="' + I18N_PACKAGE + '"' ]
|
||||||
|
|
||||||
if bld.env['BUILD_TESTS'] and bld.env['HAVE_CPPUNIT']:
|
if bld.env['BUILD_TESTS'] and bld.env['HAVE_CPPUNIT']:
|
||||||
|
|
||||||
manual_tests = '''
|
manual_tests = '''
|
||||||
test/hello_world.cc
|
test/hello_world.cc
|
||||||
test/gtk_many.cc
|
test/gtk_many.cc
|
||||||
test/gtk_scene.cc
|
test/gtk_scene.cc
|
||||||
test/gtk_movement.cc
|
test/gtk_movement.cc
|
||||||
test/gtk_viewport.cc
|
test/gtk_viewport.cc
|
||||||
test/gtk_drag.cc
|
test/gtk_drag.cc
|
||||||
'''.split()
|
'''.split()
|
||||||
|
|
||||||
for t in manual_tests:
|
for t in manual_tests:
|
||||||
target = t[:-3]
|
target = t[:-3]
|
||||||
|
|
@ -107,17 +107,17 @@ def build(bld):
|
||||||
|
|
||||||
unit_testobj = bld.new_task_gen('cxx', 'program')
|
unit_testobj = bld.new_task_gen('cxx', 'program')
|
||||||
unit_testobj.source = '''
|
unit_testobj.source = '''
|
||||||
test/group.cc
|
test/group.cc
|
||||||
test/arrow.cc
|
test/arrow.cc
|
||||||
test/optimizing_lookup_table.cc
|
test/optimizing_lookup_table.cc
|
||||||
test/polygon.cc
|
test/polygon.cc
|
||||||
test/types.cc
|
test/types.cc
|
||||||
test/render.cc
|
test/render.cc
|
||||||
test/xml.cc
|
test/xml.cc
|
||||||
test/wave_view.cc
|
test/wave_view.cc
|
||||||
test/item.cc
|
test/item.cc
|
||||||
test/testrunner.cpp
|
test/testrunner.cpp
|
||||||
'''.split()
|
'''.split()
|
||||||
|
|
||||||
unit_testobj.includes = obj.includes + ['test', '../pbd']
|
unit_testobj.includes = obj.includes + ['test', '../pbd']
|
||||||
unit_testobj.uselib = 'CPPUNIT SIGCPP CAIROMM GTKMM'
|
unit_testobj.uselib = 'CPPUNIT SIGCPP CAIROMM GTKMM'
|
||||||
|
|
@ -131,11 +131,11 @@ def build(bld):
|
||||||
unit_testobj.cxxflags += ['-DMODULE_DIR="' + os.path.normpath(bld.env['LIBDIR']) + '"']
|
unit_testobj.cxxflags += ['-DMODULE_DIR="' + os.path.normpath(bld.env['LIBDIR']) + '"']
|
||||||
|
|
||||||
benchmarks = '''
|
benchmarks = '''
|
||||||
benchmark/items_at_point.cc
|
benchmark/items_at_point.cc
|
||||||
benchmark/render_parts.cc
|
benchmark/render_parts.cc
|
||||||
benchmark/render_from_log.cc
|
benchmark/render_from_log.cc
|
||||||
benchmark/render_whole.cc
|
benchmark/render_whole.cc
|
||||||
'''.split()
|
'''.split()
|
||||||
|
|
||||||
for t in benchmarks:
|
for t in benchmarks:
|
||||||
target = t[:-3]
|
target = t[:-3]
|
||||||
|
|
@ -150,5 +150,5 @@ def build(bld):
|
||||||
manual_testobj.install_path = ''
|
manual_testobj.install_path = ''
|
||||||
|
|
||||||
def shutdown():
|
def shutdown():
|
||||||
autowaf.shutdown()
|
autowaf.shutdown()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue