Skip to content
Snippets Groups Projects
Commit db614ec5 authored by jmo's avatar jmo
Browse files

now senf could also be located in ../senf

parent 53a23910
No related branches found
No related tags found
No related merge requests found
...@@ -64,6 +64,18 @@ def SetupForSENF(env): ...@@ -64,6 +64,18 @@ def SetupForSENF(env):
'${profile and "profile=1" or None}' ], '${profile and "profile=1" or None}' ],
CPPDEFINES = [ '${not(final) and "SENF_DEBUG" or None}' ] ) CPPDEFINES = [ '${not(final) and "SENF_DEBUG" or None}' ] )
#env.Default(
# env.AlwaysBuild(
# env.Command('senf/libsenf.a', [], [ 'scons -C %s $SENF_BUILDOPTS libsenf.a' % os.path.realpath('senf')])))
elif os.path.exists('../senf'):
print "\nUsing SENF in '../senf'\n"
env.Append( LIBPATH = [ '../senf' ],
CPPPATH = [ '../senf/include' ],
SENF_BUILDOPTS = [ '${final and "final=1" or None}',
'${debug and "debug=1" or None}',
'${profile and "profile=1" or None}' ],
CPPDEFINES = [ '${not(final) and "SENF_DEBUG" or None}' ] )
#env.Default( #env.Default(
# env.AlwaysBuild( # env.AlwaysBuild(
# env.Command('senf/libsenf.a', [], [ 'scons -C %s $SENF_BUILDOPTS libsenf.a' % os.path.realpath('senf')]))) # env.Command('senf/libsenf.a', [], [ 'scons -C %s $SENF_BUILDOPTS libsenf.a' % os.path.realpath('senf')])))
......
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