Changeset 3523


Ignore:
Timestamp:
Aug 22, 2006, 12:35:25 PM (19 years ago)
Author:
jack
Message:

Fixed the SCons build files to work with Duncan's restructure.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • SConstruct

    r3414 r3523  
    6161Export('env')
    6262
    63 # Build .pyc files of every .py in here and below.
     63# Build .pyc and .pyo files of every .py in here and below.
    6464files = []
    65 dirs = filter(os.path.isdir, os.listdir('.'))
     65#dirs = filter(os.path.isdir, os.listdir('.'))
     66#Only build the anuga_core directory for now
     67dirs = ['anuga_core']
    6668while(dirs != []):
    6769    dirs += filter(os.path.isdir, map(lambda x : dirs[0] + os.sep + x, os.listdir(dirs[0])))
     
    7173    env.Pyc(x + 'c', x)
    7274
    73 SConscript(['inundation/SConscript'])
     75SConscript(['anuga_core/source/anuga/SConscript'])
  • anuga_core/source/anuga/pyvolution/SConscript

    r3327 r3523  
    11Import('env')
    22env2 = env.Copy()
    3 env2.Append(CPPPATH=['#inundation/utilities'])
     3env2.Append(CPPPATH=['#anuga_core/source/anuga/utilities'])
    44
    55env2.SharedLibrary('quantity_ext', ['quantity_ext.c'])
Note: See TracChangeset for help on using the changeset viewer.