Skip to content
Snippets Groups Projects
Commit ebf9bdf7 authored by jdh8d's avatar jdh8d
Browse files

First support for scons build system

parent 123b914d
No related branches found
No related tags found
No related merge requests found
import os
print "In libIRDB/tests/SConscript"
Import('env')
env.Replace(SECURITY_TRANSFORMS_HOME=os.environ['SECURITY_TRANSFORMS_HOME'])
cpppath='''
$SECURITY_TRANSFORMS_HOME/include
$SECURITY_TRANSFORMS_HOME/libIRDB/include
$SECURITY_TRANSFORMS_HOME/libMEDSannotation/include
$SECURITY_TRANSFORMS_HOME/beaengine/include
$SECURITY_TRANSFORMS_HOME/tools/transforms
'''
CFLAGS="-fPIC "
files=Glob("*.cpp")
pgm="selective_cfi.exe"
LIBPATH="$SECURITY_TRANSFORMS_HOME/lib"
LIBS=Split("IRDB-core IRDB-cfg IRDB-util pqxx BeaEngine_s_d transform rewrite MEDSannotation")
env=env.Clone(CPPPATH=Split(cpppath), CFLAGS=CFLAGS)
pgm=env.Program(pgm, files, LIBPATH=LIBPATH, LIBS=LIBS)
install=env.Install("$SECURITY_TRANSFORMS_HOME/bin/", pgm)
env.Alias("install", "$SECURITY_TRANSFORMS_HOME/bin/")
Default(install)
env=Environment()
Export('env')
lib=SConscript("SConscript")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment