summaryrefslogtreecommitdiffstats
path: root/test/D/HSTeoh/SingleStringCannotBeMultipleOptions/SConstruct_template
blob: 118a7b24c4a67a20e3ab424a75b37fdd11ab6ff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# -*- mode:python; coding=utf-8; -*-

import os

environment = Environment(
    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
"""))