diff options
| author | William Deegan <bill@baddogconsulting.com> | 2015-09-21 17:03:12 (GMT) |
|---|---|---|
| committer | William Deegan <bill@baddogconsulting.com> | 2015-09-21 17:03:12 (GMT) |
| commit | 0941093e0e5a030faa49968457638a3a6aee7ad8 (patch) | |
| tree | 6d33513c14eb6eac0531dd050de0ecca4c39bd79 /test/D/HSTeoh/LinkingProblem/SConstruct_template | |
| download | SCons-2.4.0.zip SCons-2.4.0.tar.gz SCons-2.4.0.tar.bz2 | |
release 2.4.02.4.0
Diffstat (limited to 'test/D/HSTeoh/LinkingProblem/SConstruct_template')
| -rw-r--r-- | test/D/HSTeoh/LinkingProblem/SConstruct_template | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/D/HSTeoh/LinkingProblem/SConstruct_template b/test/D/HSTeoh/LinkingProblem/SConstruct_template new file mode 100644 index 0000000..2c53b54 --- /dev/null +++ b/test/D/HSTeoh/LinkingProblem/SConstruct_template @@ -0,0 +1,21 @@ +# -*- mode:python; coding=utf-8; -*- + +import os + +environment = Environment( + tools = ['cc', '{}', 'link'], + LIBS = ['ncurses']) + +environment['ENV']['HOME'] = os.environ['HOME'] # Hack for gdmd + +environment.Object('ncurs_impl.o', 'ncurs_impl.c') + +environment.Program('prog', Split(""" + prog.d + ncurs_impl.o +""")) + +environment.Program('cprog', Split(""" + cprog.c + ncurs_impl.o +""")) |
