Warning, /DEMPgen/src/eic_evgen/SConstruct is written in an unsupported language. File is not indexed.
0001 import os
0002
0003 env = Environment()
0004
0005 env['CXX'] = 'g++'
0006
0007 # # lib_var = os.popen("root-config --libs").read()
0008
0009 env['CCFLAGS'] = '-DLINUXVERS -g -Wall -DWITH_DEBUG'
0010
0011 output = os.environ["ROOTSYS"]
0012
0013 root_sys = os.environ["ROOTSYS"]
0014 root_sys_inc = root_sys + "/include"
0015
0016 env.Append(CPPPATH =[root_sys_inc, root_sys])
0017
0018 root_lib = os.popen("root-config --libs").read()
0019
0020 env['LIBS'] = 'nsl', 'crypt', 'dl', 'Minuit', 'Xt', 'X11', 'Xpm'
0021
0022 env.ParseConfig('/home/apps/root/bin/root-config --libs')
0023
0024 #env.ParseConfig('/usr/bin/root-config --libs')
0025
0026 env.Program(target = "eic", source = ["main.cc", "eic.cc", "eic_pim.cc", "tssa_sig_Para.cc"])
0027
0028