source: branches/asap-3.x/apps/SConscript @ 1750

Last change on this file since 1750 was 1750, checked in by Malte Marquarding, 14 years ago

Also need to add asap2to3 to binary installer

File size: 544 bytes
Line 
1import os,glob,shutil
2
3# import root environment
4Import( "env")
5myenv = env.Clone()
6
7# gather cpp files
8cpps = env.SGlob("*.cpp")
9
10# location of libasap.a
11myenv.Prepend( LIBPATH = ['#/build'] )
12myenv.Prepend( CPPPATH = ['#/build'] )
13myenv.Append(CCFLAGS = ["-DWCSLIB_GETWCSTAB"])
14myenv.Prepend(LIBS = ['asap'])
15
16installs = []
17for cpp in cpps:
18    prog = myenv.Program(cpp)   
19    installs.append(myenv.Install("$prefix/bin", prog))
20    if len(myenv["makedist"]):
21        myenv.QInstall("$stagedir/bin", prog)
22
23myenv.Alias('install', installs)
Note: See TracBrowser for help on using the repository browser.