Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Applications using Likelihood as an example

For applications 

import glob,os

Import('baseEnv')
Import('registerObjects')
env = baseEnv.Copy()
env.Tool('LikelihoodLib')            The applications can depend on the Likelihood library, this too sets up the environment to handle this.

Wiki Markup
LikelihoodLib = env.StaticLibrary('Likelihood', \[glob.glob(os.path.join('src','*.c')), glob.glob(os.path.join('src','*.cxx'))\])
gtlikelihoodBin = env.Program('gtlikelihood',glob.glob(os.path.join('src','likelihood','*.cxx')))