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-9d2fd5bffc1fpull/1/head
parent
a9ece90b81
commit
1a4ef72ffb
20
INSTALL
20
INSTALL
|
@ -1,9 +1,12 @@
|
||||||
|
|
||||||
|
|
||||||
Open Asset Import Library (Assimp) Install
|
Open Asset Import Library (Assimp) Install
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
=======================================================================
|
||||||
|
Please see the doxygen documentation for full install instructions:
|
||||||
|
|
||||||
Please see the doxygen documentation to learn how to build & use Assimp.
|
|
||||||
A CHM file is included in the SVN repos: ./doc/AssimpDoc_Html/AssimpDoc.chm.
|
A CHM file is included in the SVN repos: ./doc/AssimpDoc_Html/AssimpDoc.chm.
|
||||||
At least Windows should be able to read it.
|
At least Windows should be able to read it.
|
||||||
|
|
||||||
|
@ -23,7 +26,18 @@ You can also find a copy of the doc on our web site:
|
||||||
http://assimp.sourceforge.net/lib_html/index.html
|
http://assimp.sourceforge.net/lib_html/index.html
|
||||||
|
|
||||||
Beware, it could be outdated. If you're in serious doubt it might be,
|
Beware, it could be outdated. If you're in serious doubt it might be,
|
||||||
rebuilding the doc is probably a wise choice.
|
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.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
11
README
11
README
|
@ -1,7 +1,7 @@
|
||||||
Open Asset Import Library (Assimp) Readme
|
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. Overview
|
||||||
1.1 Supported file formats
|
1.1 Supported file formats
|
||||||
|
@ -30,11 +30,16 @@ The Asset Import Library provides a lot of model formats:
|
||||||
- X
|
- X
|
||||||
- LWO
|
- LWO
|
||||||
- OBJ
|
- OBJ
|
||||||
- SMD
|
- SMD
|
||||||
|
- Collada
|
||||||
|
- LWO
|
||||||
|
- Ogre XML
|
||||||
|
- partly LWS
|
||||||
|
- .. maybe some more ...
|
||||||
|
|
||||||
1.2 File structure
|
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:
|
are:
|
||||||
|
|
||||||
/bin Binaries of the Asset Import Library.
|
/bin Binaries of the Asset Import Library.
|
||||||
|
|
|
@ -30,8 +30,8 @@ if ARGUMENTS.get('debug', 0):
|
||||||
else:
|
else:
|
||||||
ccflags = ccflags + ' -Os -fno-strict-aliasing -msse -Wall -pedantic'
|
ccflags = ccflags + ' -Os -fno-strict-aliasing -msse -Wall -pedantic'
|
||||||
|
|
||||||
#if ARGUMENTS.get('noboost', 0):
|
if ARGUMENTS.get('noboost', 0):
|
||||||
# ccflags = ccflags + ' -DASSIMP_BUILD_BOOST_WORKAROUND '
|
ccflags = ccflags + ' -DASSIMP_BUILD_BOOST_WORKAROUND '
|
||||||
|
|
||||||
env = Environment(CCFLAGS = ccflags, CPPPATH = g_IncPath, LIBPATH=g_LibPath)
|
env = Environment(CCFLAGS = ccflags, CPPPATH = g_IncPath, LIBPATH=g_LibPath)
|
||||||
conf = Configure( env )
|
conf = Configure( env )
|
||||||
|
@ -42,6 +42,12 @@ conf = Configure( env )
|
||||||
env = conf.Finish()
|
env = conf.Finish()
|
||||||
|
|
||||||
# Build library
|
# 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)
|
LIBPATH = g_LibPath)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue