blob: 53a1ca01deb2db32575c96ee0d0c7b088628beb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
Import('environment')
env = Environment()
env.SharedLibrary(target='stuff', source=['stuff.cpp'])
env = Environment()
env.Append(LIBPATH=['.'])
env.Append(LIBS=['stuff'])
env.Program(target='test1', source=['test1.cpp'])
env = environment.Clone()
env.Append(LIBPATH=['.'])
env.Append(LIBS=['stuff'])
env.Program(target='test2', source=['test2.d'])
|