Changeset 2525 for trunk/SConstruct


Ignore:
Timestamp:
05/16/12 09:23:15 (13 years ago)
Author:
Malte Marquarding
Message:

make extension into module to hide from setup.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r2518 r2525  
    3232opts.AddVariables(
    3333                ("extraroot", "Addition tree to look for packages", None),
     34                ("extraflags", "Additional build flags", None),
    3435                ("FORTRAN", "The fortran compiler", None),
    3536                ("f2clib", "The fortran to c library", None),
     
    212213    if conf.env["alma"]:
    213214        conf.env.Append(CPPFLAGS=['-DUSE_CASAPY'])
     215    if conf.env.get("extraflags"):
     216        flags = conf.env.ParseFlags(conf.env["extraflags"])
     217        conf.env.MergeFlags(flags)
    214218    env = conf.Finish()
    215219
Note: See TracChangeset for help on using the changeset viewer.