/[ascend]/branches/jacob/ascend/integrator/SConscript
ViewVC logotype

Contents of /branches/jacob/ascend/integrator/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2933 - (show annotations) (download)
Mon Jun 1 20:38:42 2015 UTC (9 years, 1 month ago) by jacob
File size: 607 byte(s)
Create a new branch from trunk r2932, with name 'jacob'
To be used by Jacob Shealy during GSOC2015 for development of ideal 
solution capabilities in FPROPS

1 #!/usr/bin/python invoke_using_scons
2 Import('libascend_env')
3
4 objs = []
5
6 csrcs = Split("""
7 integrator.c samplelist.c
8 """)
9 # aww.c
10
11 solver_env = libascend_env.Clone()
12 if solver_env.get('WITH_MMIO'):
13 solver_env.Append(CPPPATH=["#/mmio"])
14
15 for c in csrcs:
16 objs += solver_env.SharedObject(c)
17
18 #--------------------
19 # INSTALL
20
21 import glob
22
23 if libascend_env.get('CAN_INSTALL'):
24 installdir = Dir(libascend_env.subst("$INSTALL_ROOT$INSTALL_INCLUDE/ascend/integrator"))
25
26 headers = glob.glob("*.h")
27 libascend_env.InstallHeader(installdir,headers)
28
29 print "OBJS =",objs
30 Return('objs')
31
32 # vim: set syntax=python:
33

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22