Add 'noboost=1' and 'shared=1' parameter to SConstruct. Update INSTALL AND README.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@513 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/1/head
aramis_acg 2009-12-14 18:32:06 +00:00
parent a9ece90b81
commit 1a4ef72ffb
3 changed files with 34 additions and 9 deletions

16
INSTALL
View File

@ -3,7 +3,10 @@
Open Asset Import Library (Assimp) Install
------------------------------------------------
Please see the doxygen documentation to learn how to build & use Assimp.
=======================================================================
Please see the doxygen documentation for full install instructions:
A CHM file is included in the SVN repos: ./doc/AssimpDoc_Html/AssimpDoc.chm.
At least Windows should be able to read it.
@ -25,6 +28,17 @@ http://assimp.sourceforge.net/lib_html/index.html
Beware, it could be outdated. If you're in serious doubt it might be,
rebuilding the doc is probably a wise choice.
=======================================================================
For the inpatient:
Windows: go to ./workspaces/vc8 or ./workspaces/vc9, open the
VS Solution and build your preferred build target ...
Linux: try make in the ./code dir. Alternatively, run scons from
./workspaces/SCons.

9
README
View File

@ -1,7 +1,7 @@
Open Asset Import Library (Assimp) Readme
-----------------------------------------
Here you can find information regarding the Asset Import Library:
Here you can find information regarding Open Asset Import Library:
1. Overview
1.1 Supported file formats
@ -31,10 +31,15 @@ The Asset Import Library provides a lot of model formats:
- LWO
- OBJ
- SMD
- Collada
- LWO
- Ogre XML
- partly LWS
- .. maybe some more ...
1.2 File structure
The Asset Import Library is implemented in C++ and provides a c-interface. The directories
Open Asset Import Library is implemented in C++ and provides a c-interface. The directories
are:
/bin Binaries of the Asset Import Library.

View File

@ -30,8 +30,8 @@ if ARGUMENTS.get('debug', 0):
else:
ccflags = ccflags + ' -Os -fno-strict-aliasing -msse -Wall -pedantic'
#if ARGUMENTS.get('noboost', 0):
# ccflags = ccflags + ' -DASSIMP_BUILD_BOOST_WORKAROUND '
if ARGUMENTS.get('noboost', 0):
ccflags = ccflags + ' -DASSIMP_BUILD_BOOST_WORKAROUND '
env = Environment(CCFLAGS = ccflags, CPPPATH = g_IncPath, LIBPATH=g_LibPath)
conf = Configure( env )
@ -42,6 +42,12 @@ conf = Configure( env )
env = conf.Finish()
# Build library
env.StaticLibrary(target = "assimp", source = g_assimp_lib_Source,
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)