Changeset 1127 for trunk/SConstruct


Ignore:
Timestamp:
08/10/06 14:35:46 (18 years ago)
Author:
mar637
Message:

more fixes to casa detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1125 r1127  
    1717                            "The python module path (site-packages))",
    1818                            moduledir),
     19                ("casadir", "Where casa lives. Default is to autodetect", ""),
    1920                EnumOption("mode", "The type of build.", "debug",
    2021                           ["release","debug"], ignorecase=1))
     
    4950    if not conf.CheckLib('g2c'): Exit(1)
    5051    if not conf.CheckLib('stdc++',language='c++'): Exit(1)
    51     if not conf.CheckCasa(): Exit(1)
     52    if not conf.CheckCasa(env["casadir"]): Exit(1)
    5253    env = conf.Finish()
    5354
     
    7172                      includes = ['*.py', '*.so'],
    7273                      excludes = [])
    73 env.Alias('install', asapmod)
     74asapbin = env.Install(os.path.join(distutils.sysconfig.PREFIX, "bin"),"bin/asap")
     75env.Alias('install', [asapmod, asapbin])
    7476
    7577#if env['mode'] == "release":
Note: See TracChangeset for help on using the changeset viewer.