Changeset 1127 for trunk/SConstruct
- Timestamp:
- 08/10/06 14:35:46 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SConstruct
r1125 r1127 17 17 "The python module path (site-packages))", 18 18 moduledir), 19 ("casadir", "Where casa lives. Default is to autodetect", ""), 19 20 EnumOption("mode", "The type of build.", "debug", 20 21 ["release","debug"], ignorecase=1)) … … 49 50 if not conf.CheckLib('g2c'): Exit(1) 50 51 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) 52 53 env = conf.Finish() 53 54 … … 71 72 includes = ['*.py', '*.so'], 72 73 excludes = []) 73 env.Alias('install', asapmod) 74 asapbin = env.Install(os.path.join(distutils.sysconfig.PREFIX, "bin"),"bin/asap") 75 env.Alias('install', [asapmod, asapbin]) 74 76 75 77 #if env['mode'] == "release":
Note:
See TracChangeset
for help on using the changeset viewer.