Removed obsolete SCons workspace.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@571 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
klickverbot 2010-03-03 14:05:09 +00:00
parent 98bac7094b
commit 3cd5e2a889
1 changed files with 0 additions and 53 deletions

View File

@ -1,53 +0,0 @@
#------------------------------------------------------------------------------
# ASSIMP scons build file
#
#------------------------------------------------------------------------------
import sys
#------------------------------------------------------------------------------
g_LibPath = Split("""
./
/usr/lib/
/usr/local/lib/
""")
#------------------------------------------------------------------------------
g_IncPath = Split("""
../../code/
/usr/include/
/usr/local/include/
""")
#------------------------------------------------------------------------------
g_assimp_lib_Source = Glob(r"../../code/*.cpp") + Glob(r"../../contrib/irrXML/*.cpp") + Glob(r"../../contrib/zlib/*.c") + Glob(r"../../code/extra/*.cpp") + Glob(r"../../contrib/ConvertUTF/*.c")
#------------------------------------------------------------------------------
# don't reset CC/CXX-variable, other users might have set it to something special
#------------------------------------------------------------------------------
ccflags = '-pipe'
if ARGUMENTS.get('debug', 0):
print "Using Debug Build!"
ccflags = ccflags + ' -g -pg -Wall -pedantic '
else:
ccflags = ccflags + ' -Os -fno-strict-aliasing -msse -Wall -pedantic'
if ARGUMENTS.get('noboost', 0):
ccflags = ccflags + ' -DASSIMP_BUILD_BOOST_WORKAROUND '
env = Environment(CCFLAGS = ccflags, CPPPATH = g_IncPath, LIBPATH=g_LibPath)
conf = Configure( env )
#if not conf.CheckCHeader( "boost/thread/thread.hpp" ):
# print "Boost must be installed!"
# Exit( 1 )
env = conf.Finish()
# Build library
if ARGUMENTS.get("shared",0):
env.SharedLibrary(target = "assimp", source = g_assimp_lib_Source,
LIBPATH = g_LibPath)
else:
env.StaticLibrary(target = "assimp", source = g_assimp_lib_Source,
LIBPATH = g_LibPath)