Rev | Line | |
---|
[1325] | 1 | import glob |
---|
| 2 | Import("env") |
---|
| 3 | |
---|
| 4 | sources = [] |
---|
| 5 | sources += glob.glob("atnf/PKSIO/*.cc") |
---|
| 6 | sources += glob.glob("atnf/pks/pks_maths.cc") |
---|
[2980] | 7 | |
---|
[3034] | 8 | sources2 = glob.glob("components/SpectralComponents/*.cc") |
---|
[2980] | 9 | |
---|
[1325] | 10 | env.AppendUnique(CPPPATH=[Dir(".").abspath]) |
---|
| 11 | atnflib=env.Library("atnf", sources) |
---|
[3034] | 12 | complib=env.Library("oldcomponents", sources2) |
---|
[3132] | 13 | env.Append(CCFLAGS=['-std=c++11']) |
---|
[1330] | 14 | env.AppendUnique(LIBPATH=[Dir(".").abspath]) |
---|
[3034] | 15 | env.Prepend(LIBS=["atnf","oldcomponents"]) |
---|
Note: See
TracBrowser
for help on using the repository browser.