https://github.com/root-project/root
Raw File
Tip revision: 0b0c2fca8416e9c9603519f929f8c1bed322f175 authored by Fons Rademakers on 24 October 2007, 16:05:14 UTC
patch release v5-14-00i.
Tip revision: 0b0c2fc
SConstruct
from os import curdir
from os.path import realpath

opts = Options('custom.py')

opts.Add(BoolOption   ('test',    'Set to 1 if tests shall be compiled', 0))
opts.Add(PathOption   ('prefix',  'The installation directory of Reflex', realpath(curdir)))
opts.Add(PackageOption('gccxml',  'The >binary< directory of gccxml',     'no'))
opts.Add(PackageOption('cppunit', 'The >root< directory of CppUnit',      'no'))

env = Environment(options=opts)
Export('env')

Help(opts.GenerateHelpText(env))

SConscript(['src/SConscript',
            'inc/SConscript',
            'python/SConscript'])

if env['test'] : SConscript('test/SConscript')

env.Alias('install', env['prefix'])
back to top