diff options
-rw-r--r-- | led/complex1/wscript | 14 | ||||
-rw-r--r-- | led/wscript | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/led/complex1/wscript b/led/complex1/wscript new file mode 100644 index 0000000..398a979 --- /dev/null +++ b/led/complex1/wscript @@ -0,0 +1,14 @@ +# Copyright 2013 Gedare Bloom (gedare@rtems.org) +# +# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file. +# + +# Waf build script for an RTEMS Hello +import rtems_waf.rtems as rtems + +def build(bld): + rtems.build(bld) + + bld(features = 'cxx cxxprogram', + target = 'complex1.exe', + source = ['periodic.c', 'main.cc', 'menu.cc', 'test.cc']) diff --git a/led/wscript b/led/wscript index f3791d4..edccad5 100644 --- a/led/wscript +++ b/led/wscript @@ -21,3 +21,6 @@ def build(bld): bld.recurse('posix_delay_nanosleep') bld.recurse('posix_delay_sleep') bld.recurse('posix_mutex_server') + # This test requires POSIX and C++ + if bld.env['CXX'] is not None: + bld.recurse('complex1') |