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

added scons support

Former-commit-id: 43821de57983db4e60b1d24b425dc503243346a5
parent f7a18987
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,8 @@ beaengine/CMakeFiles/cmake.check_cache -text
beaengine/CMakeFiles/progress.marks -text
beaengine/CMakeLists.txt -text
beaengine/News.txt -text
beaengine/SConscript -text
beaengine/SConstruct -text
beaengine/beaengineSources/BeaEngine.c -text
beaengine/beaengineSources/BeaEngine.obj -text
beaengine/beaengineSources/CMakeLists.txt -text
......
import os
env=Environment()
env.Replace(SECURITY_TRANSFORMS_HOME=os.environ['SECURITY_TRANSFORMS_HOME'])
files= '''
./beaengineSources/BeaEngine.c
'''
cpppath='''
./include/
./beaengineSources/Includes/
'''
CFLAGS="-fPIC -pedantic -ansi -pipe -fno-common -fshort-enums -g -Wall -W -Wextra -Wconversion -Wno-long-long -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings"
CC="g++"
env=env.Clone(CC=CC, CPPPATH=Split(cpppath), CFLAGS=CFLAGS)
lib=env.Library("BeaEngine_s_d", Split(files))
install=env.Install("$SECURITY_TRANSFORMS_HOME/lib/", lib)
env.Alias("install", "$SECURITY_TRANSFORMS_HOME/lib/")
Default(install)
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