Browse Source

Fix some compiler flags.

waf
Ben Niemann 3 years ago
parent
commit
15d304768c
  1. 1
      noisicaa/audioproc/engine/wscript
  2. 1
      noisicaa/audioproc/public/wscript
  3. 2
      noisicaa/builtin_nodes/control_track/wscript
  4. 1
      noisicaa/builtin_nodes/custom_csound/wscript
  5. 1
      noisicaa/builtin_nodes/cv_mapper/wscript
  6. 2
      noisicaa/builtin_nodes/instrument/wscript
  7. 1
      noisicaa/builtin_nodes/metronome/wscript
  8. 2
      noisicaa/builtin_nodes/midi_cc_to_cv/wscript
  9. 2
      noisicaa/builtin_nodes/midi_looper/wscript
  10. 1
      noisicaa/builtin_nodes/midi_monitor/wscript
  11. 2
      noisicaa/builtin_nodes/midi_source/wscript
  12. 1
      noisicaa/builtin_nodes/midi_velocity_mapper/wscript
  13. 1
      noisicaa/builtin_nodes/mixer/wscript
  14. 1
      noisicaa/builtin_nodes/oscilloscope/wscript
  15. 2
      noisicaa/builtin_nodes/pianoroll/wscript
  16. 2
      noisicaa/builtin_nodes/sample_track/wscript
  17. 1
      noisicaa/builtin_nodes/step_sequencer/wscript
  18. 2
      noisicaa/builtin_nodes/wscript
  19. 1
      noisicaa/host_system/wscript
  20. 1
      noisicaa/lv2/wscript
  21. 1
      noisicaa/node_db/wscript
  22. 4
      wscript

1
noisicaa/audioproc/engine/wscript

@ -62,6 +62,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-audioproc-engine',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'alsa_device_manager.cpp',
'backend.cpp',

1
noisicaa/audioproc/public/wscript

@ -62,6 +62,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-audioproc-public',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'backend_settings.pb.cc',
'control_value.pb.cc',

2
noisicaa/builtin_nodes/control_track/wscript

@ -39,6 +39,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-control_track-processor_messages',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor_messages.pb.cc',
],
@ -50,6 +51,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-control_track-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

1
noisicaa/builtin_nodes/custom_csound/wscript

@ -37,6 +37,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-custom_csound-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
'processor.pb.cc',

1
noisicaa/builtin_nodes/cv_mapper/wscript

@ -38,6 +38,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-cv_mapper-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
'processor.pb.cc',

2
noisicaa/builtin_nodes/instrument/wscript

@ -37,6 +37,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-instrument-processor_messages',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor_messages.pb.cc',
],
@ -48,6 +49,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-instrument-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

1
noisicaa/builtin_nodes/metronome/wscript

@ -38,6 +38,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-metronome-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
'processor.pb.cc',

2
noisicaa/builtin_nodes/midi_cc_to_cv/wscript

@ -41,6 +41,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_cc_to_cv-processor_messages',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor_messages.pb.cc',
],
@ -52,6 +53,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_cc_to_cv-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
'processor.pb.cc',

2
noisicaa/builtin_nodes/midi_looper/wscript

@ -38,6 +38,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_looper-processor_messages',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.pb.cc',
],
@ -49,6 +50,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_looper-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

1
noisicaa/builtin_nodes/midi_monitor/wscript

@ -36,6 +36,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_monitor-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

2
noisicaa/builtin_nodes/midi_source/wscript

@ -37,6 +37,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_source-processor_messages',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor_messages.pb.cc',
],
@ -48,6 +49,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_source-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

1
noisicaa/builtin_nodes/midi_velocity_mapper/wscript

@ -38,6 +38,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-midi_velocity_mapper-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
'processor.pb.cc',

1
noisicaa/builtin_nodes/mixer/wscript

@ -28,6 +28,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-mixer-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

1
noisicaa/builtin_nodes/oscilloscope/wscript

@ -38,6 +38,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-oscilloscope-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
'processor.pb.cc',

2
noisicaa/builtin_nodes/pianoroll/wscript

@ -30,6 +30,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-pianoroll-processor_messages',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor_messages.pb.cc',
],
@ -41,6 +42,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-pianoroll-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

2
noisicaa/builtin_nodes/sample_track/wscript

@ -40,6 +40,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-sample_track-processor_messages',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor_messages.pb.cc',
],
@ -51,6 +52,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-sample_track-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
],

1
noisicaa/builtin_nodes/step_sequencer/wscript

@ -38,6 +38,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-step_sequencer-processor',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'processor.cpp',
'processor.pb.cc',

2
noisicaa/builtin_nodes/wscript

@ -32,6 +32,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-processor_message_registry',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source='processor_message_registry.pb.cc',
use=[
'NOISELIB',
@ -48,6 +49,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-builtin_nodes-processors',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source='processor_registry.cpp',
use=[
'NOISELIB',

1
noisicaa/host_system/wscript

@ -26,6 +26,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-host_system',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'host_system.cpp',
'host_system_lv2.cpp',

1
noisicaa/lv2/wscript

@ -38,6 +38,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-lv2',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'urid_mapper.cpp',
'feature_manager.cpp',

1
noisicaa/node_db/wscript

@ -37,6 +37,7 @@ def build(ctx):
ctx.shlib(
target='noisicaa-node_db',
cxxflags=['-Werror'], # TODO: move to global CXXFLAGS
source=[
'node_description.pb.cc',
],

4
wscript

@ -103,8 +103,10 @@ def configure(ctx):
ctx.pkg_config('PROFILER', 'libprofiler', '2.5')
ctx.env.LIB_CSOUND = ['csound64']
ctx.env.CFLAGS_CSOUND = ['-DHAVE_PTHREAD_SPIN_LOCK']
ctx.env.CXXFLAGS_CSOUND = ['-DHAVE_PTHREAD_SPIN_LOCK']
ctx.env.append_value('CXXFLAGS', ['-g', '-O2', '-std=c++11'])
ctx.env.append_value('CXXFLAGS', ['-g', '-O2', '-std=c++11', '-Wall', '-pedantic'])
ctx.env.append_value('CFLAGS', ['-g', '-O2'])
ctx.env.append_value('LIBPATH', [os.path.join(ctx.env.VIRTUAL_ENV, 'lib')])
ctx.env.append_value('INCLUDES', [os.path.join(ctx.env.VIRTUAL_ENV, 'include')])

Loading…
Cancel
Save