Clean up and simplify logic. TODO: scons -c isn't removing the .di files. Mainly...
[scons.git] / test / D / di / Image / SConstruct_template
blobd73432904fabe64890ba0ebd4a706ec2f1a44300
1 # -*- mode:python; coding:utf-8; -*-
3 import os
5 DefaultEnvironment(tools=[])
7 env = Environment(
8     tools=['link','ar' ,'{}'],
9     DPATH=['include'],
10     DI_FILE_DIR='include'
14 # o1 = env.Object('source/helloWorld.d')
15 # o2 = env.Object('helloWorldMain.d')
16 # env.Program('hw', [o1[0], o2[0]])
18 # Alternatively 
19 env.Program('hw', ['helloWorldMain.d','source/helloWorld.d'])