summaryrefslogtreecommitdiffstats
path: root/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template
blob: 89c603b16d1b9f05113f0af3b2fd8e36510d7e73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
"""))