Changeset 1406 for trunk/SConstruct


Ignore:
Timestamp:
01/31/08 15:03:34 (17 years ago)
Author:
Malte Marquarding
Message:

work with the latest version of casacore; made release mode default. Add optional build of apps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r1396 r1406  
    5353                ("rpfitslibdir", "The rpfits library location", None),
    5454#               ("rpfitsincdir", "The rpfits include location", None),
    55                 EnumOption("mode", "The type of build.", "debug",
     55                EnumOption("mode", "The type of build.", "release",
    5656                           ["release","debug"], ignorecase=1),
    5757                ("makedist",
     
    6060                EnumOption("makedoc", "Build the userguide in specified format",
    6161                           "none",
    62                            ["none", "pdf", "html"], ignorecase=1)
     62                           ["none", "pdf", "html"], ignorecase=1),
     63                BoolOption("apps", "Build cpp apps", False)
    6364                )
    6465
     
    8384
    8485# load casacore specific build flags
     86env.Tool('casaoptions', [casacoretooldir])
     87env.AddCommonOptions(opts)
     88opts.Update(env)
    8589env.Tool('casa', [casacoretooldir])
    8690
     
    209213    env.SConscript("doc/SConscript")
    210214
     215if env["apps"]:
     216    env.SConscript("apps/SConscript")
     217
    211218if env.GetOption("clean"):
    212219    Execute(Delete(".sconf_temp"))
Note: See TracChangeset for help on using the changeset viewer.