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

Last change on this file since 1748 was 1748, checked in by Malte Marquarding, 15 years ago

handle install of apps

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