diff options
author | Russel Winder <russel@winder.org.uk> | 2014-04-16 09:46:39 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2014-04-16 09:46:39 (GMT) |
commit | da72e009ae9e2f450a601d52f2530338efa6a377 (patch) | |
tree | df6efa619e83c0cfc7bd932ae3c9c786cf812246 /test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template | |
parent | d4f8c6e320484c106446918c37affdddacd5c7a3 (diff) | |
download | SCons-da72e009ae9e2f450a601d52f2530338efa6a377.zip SCons-da72e009ae9e2f450a601d52f2530338efa6a377.tar.gz SCons-da72e009ae9e2f450a601d52f2530338efa6a377.tar.bz2 |
The changes to the D support evolved over the last many months packaged as a single changeset.
Diffstat (limited to 'test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template')
-rw-r--r-- | test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template b/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template new file mode 100644 index 0000000..89c603b --- /dev/null +++ b/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template @@ -0,0 +1,16 @@ +# -*- mode:python; coding=utf-8; -*- + +import os + +environment = Environment( + ENV=os.environ, + tools=['link', '{}'], + # It might be thought that a single string can contain multiple options space separated. Actually this + # is deemed to be a single option, so leads to an error. + DFLAGS = '-m64 -O') + +environment.Program('proj', Split(""" +proj.d +mod1.d +cmod.c +""")) |