2010-11-21 19:01:22 +00:00
|
|
|
SET( LIBRARY_VERSION "2.0.0" )
|
|
|
|
SET( LIBRARY_SOVERSION "2" )
|
2010-03-03 21:46:56 +00:00
|
|
|
|
2010-03-03 21:48:23 +00:00
|
|
|
#
|
2011-05-30 14:13:33 +00:00
|
|
|
# Listing and grouping of all the source files.
|
|
|
|
# 1) Set the file lists for each component
|
|
|
|
# 2) Create a Source Group for each component, for IDE project orginization
|
|
|
|
# 3) Add libassimp using the file lists (eliminates duplication of file names between
|
|
|
|
# source groups and library command)
|
2010-03-03 21:48:23 +00:00
|
|
|
#
|
2010-02-27 14:04:14 +00:00
|
|
|
SET( HEADER_PATH ../include )
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2010-02-27 12:00:00 +00:00
|
|
|
SET( COMPILER_HEADERS
|
|
|
|
${HEADER_PATH}/Compiler/pushpack1.h
|
|
|
|
${HEADER_PATH}/Compiler/poppack1.h
|
2010-03-03 21:48:23 +00:00
|
|
|
pstdint.h
|
2010-03-03 21:46:56 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Compiler FILES ${COMPILER_HEADERS})
|
2010-02-27 12:00:00 +00:00
|
|
|
|
|
|
|
SET( PUBLIC_HEADERS
|
2010-02-27 14:04:14 +00:00
|
|
|
${HEADER_PATH}/aiAnim.h
|
|
|
|
${HEADER_PATH}/aiAssert.h
|
|
|
|
${HEADER_PATH}/aiCamera.h
|
|
|
|
${HEADER_PATH}/aiColor4D.h
|
|
|
|
${HEADER_PATH}/aiColor4D.inl
|
|
|
|
${HEADER_PATH}/aiConfig.h
|
|
|
|
${HEADER_PATH}/aiDefines.h
|
|
|
|
${HEADER_PATH}/aiFileIO.h
|
|
|
|
${HEADER_PATH}/aiLight.h
|
|
|
|
${HEADER_PATH}/aiMaterial.h
|
|
|
|
${HEADER_PATH}/aiMaterial.inl
|
|
|
|
${HEADER_PATH}/aiMatrix3x3.h
|
|
|
|
${HEADER_PATH}/aiMatrix3x3.inl
|
|
|
|
${HEADER_PATH}/aiMatrix4x4.h
|
|
|
|
${HEADER_PATH}/aiMatrix4x4.inl
|
|
|
|
${HEADER_PATH}/aiMesh.h
|
|
|
|
${HEADER_PATH}/aiPostProcess.h
|
|
|
|
${HEADER_PATH}/aiQuaternion.h
|
|
|
|
${HEADER_PATH}/aiScene.h
|
|
|
|
${HEADER_PATH}/aiTexture.h
|
|
|
|
${HEADER_PATH}/aiTypes.h
|
|
|
|
${HEADER_PATH}/aiVector2D.h
|
|
|
|
${HEADER_PATH}/aiVector3D.h
|
|
|
|
${HEADER_PATH}/aiVector3D.inl
|
|
|
|
${HEADER_PATH}/aiVersion.h
|
|
|
|
${HEADER_PATH}/assimp.h
|
|
|
|
${HEADER_PATH}/assimp.hpp
|
|
|
|
${HEADER_PATH}/DefaultLogger.h
|
2010-08-26 18:16:12 +00:00
|
|
|
${HEADER_PATH}/ProgressHandler.h
|
2010-02-27 14:04:14 +00:00
|
|
|
${HEADER_PATH}/IOStream.h
|
|
|
|
${HEADER_PATH}/IOSystem.h
|
|
|
|
${HEADER_PATH}/Logger.h
|
|
|
|
${HEADER_PATH}/LogStream.h
|
|
|
|
${HEADER_PATH}/NullLogger.h
|
2011-01-09 19:39:42 +00:00
|
|
|
${HEADER_PATH}/export.h
|
|
|
|
${HEADER_PATH}/export.hpp
|
2010-02-27 14:04:14 +00:00
|
|
|
)
|
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Core_SRCS
|
|
|
|
Assimp.cpp
|
|
|
|
AssimpPCH.cpp
|
|
|
|
AssimpPCH.h
|
2010-02-27 14:04:14 +00:00
|
|
|
)
|
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Boost_SRCS
|
2010-03-03 21:48:23 +00:00
|
|
|
BoostWorkaround/boost/math/common_factor_rt.hpp
|
|
|
|
BoostWorkaround/boost/foreach.hpp
|
|
|
|
BoostWorkaround/boost/format.hpp
|
|
|
|
BoostWorkaround/boost/scoped_array.hpp
|
|
|
|
BoostWorkaround/boost/scoped_ptr.hpp
|
2010-04-11 02:46:52 +00:00
|
|
|
BoostWorkaround/boost/shared_array.hpp
|
|
|
|
BoostWorkaround/boost/shared_ptr.hpp
|
2011-05-31 17:38:22 +00:00
|
|
|
BoostWorkaround/boost/make_shared.hpp
|
2010-03-03 21:48:23 +00:00
|
|
|
BoostWorkaround/boost/static_assert.hpp
|
|
|
|
BoostWorkaround/boost/tuple/tuple.hpp
|
2010-02-27 12:00:00 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP(Boost FILES ${Boost_SRCS})
|
2010-02-27 12:00:00 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Logging_SRCS
|
2010-08-25 16:55:38 +00:00
|
|
|
${HEADER_PATH}/DefaultLogger.h
|
2009-04-24 20:53:24 +00:00
|
|
|
${HEADER_PATH}/IOStream.h
|
|
|
|
${HEADER_PATH}/LogStream.h
|
|
|
|
${HEADER_PATH}/Logger.h
|
|
|
|
${HEADER_PATH}/NullLogger.h
|
|
|
|
Win32DebugLogStream.h
|
|
|
|
DefaultLogger.cpp
|
|
|
|
FileLogStream.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP(Logging FILES ${Logging_SRCS})
|
2010-02-27 12:00:00 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Common_SRCS
|
2010-08-25 16:55:38 +00:00
|
|
|
fast_atof.h
|
2009-04-24 20:53:24 +00:00
|
|
|
qnan.h
|
|
|
|
BaseImporter.cpp
|
|
|
|
BaseImporter.h
|
|
|
|
BaseProcess.cpp
|
|
|
|
BaseProcess.h
|
|
|
|
ByteSwap.h
|
2010-08-26 18:16:12 +00:00
|
|
|
DefaultProgressHandler.h
|
2009-04-24 20:53:24 +00:00
|
|
|
DefaultIOStream.cpp
|
|
|
|
DefaultIOStream.h
|
|
|
|
DefaultIOSystem.cpp
|
|
|
|
DefaultIOSystem.h
|
2011-03-08 16:15:09 +00:00
|
|
|
CInterfaceIOWrapper.h
|
2009-04-24 20:53:24 +00:00
|
|
|
Hash.h
|
|
|
|
Importer.cpp
|
|
|
|
IFF.h
|
|
|
|
ParsingUtils.h
|
|
|
|
StdOStreamLogStream.h
|
|
|
|
StreamReader.h
|
|
|
|
StringComparison.h
|
|
|
|
SGSpatialSort.cpp
|
|
|
|
SGSpatialSort.h
|
|
|
|
VertexTriangleAdjacency.cpp
|
|
|
|
VertexTriangleAdjacency.h
|
|
|
|
GenericProperty.h
|
|
|
|
SpatialSort.cpp
|
|
|
|
SpatialSort.h
|
|
|
|
SceneCombiner.cpp
|
|
|
|
SceneCombiner.h
|
|
|
|
ScenePreprocessor.cpp
|
|
|
|
ScenePreprocessor.h
|
|
|
|
SkeletonMeshBuilder.cpp
|
|
|
|
SkeletonMeshBuilder.h
|
2010-11-27 13:53:34 +00:00
|
|
|
SplitByBoneCountProcess.cpp
|
|
|
|
SplitByBoneCountProcess.h
|
2009-04-24 20:53:24 +00:00
|
|
|
SmoothingGroups.h
|
|
|
|
StandardShapes.cpp
|
|
|
|
StandardShapes.h
|
|
|
|
TargetAnimation.cpp
|
|
|
|
TargetAnimation.h
|
|
|
|
RemoveComments.cpp
|
|
|
|
RemoveComments.h
|
2010-01-28 21:17:25 +00:00
|
|
|
Subdivision.cpp
|
|
|
|
Subdivision.h
|
|
|
|
Vertex.h
|
2010-04-02 04:17:05 +00:00
|
|
|
LineSplitter.h
|
|
|
|
TinyFormatter.h
|
2010-07-08 22:44:44 +00:00
|
|
|
Profiler.h
|
2011-05-09 18:00:55 +00:00
|
|
|
LogAux.h
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP(Common FILES ${Common_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( 3DS_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
3DSConverter.cpp
|
|
|
|
3DSHelper.h
|
|
|
|
3DSLoader.cpp
|
|
|
|
3DSLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP(3DS FILES ${3DS_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( AC_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
ACLoader.cpp
|
|
|
|
ACLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( AC FILES ${AC_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( ASE_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
ASELoader.cpp
|
|
|
|
ASELoader.h
|
|
|
|
ASEParser.cpp
|
|
|
|
ASEParser.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( ASE FILES ${ASE_SRCS})
|
|
|
|
|
|
|
|
SET( B3D_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
B3DImporter.cpp
|
|
|
|
B3DImporter.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( B3D FILES ${B3D_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( BVH_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
BVHLoader.cpp
|
|
|
|
BVHLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( BVH FILES ${BVH_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Collada_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
ColladaHelper.h
|
|
|
|
ColladaLoader.cpp
|
|
|
|
ColladaLoader.h
|
|
|
|
ColladaParser.cpp
|
|
|
|
ColladaParser.h
|
2011-04-03 11:44:09 +00:00
|
|
|
ColladaExporter.h
|
|
|
|
ColladaExporter.cpp
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Collada FILES ${Collada_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( DXF_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
DXFLoader.cpp
|
|
|
|
DXFLoader.h
|
2011-02-22 19:58:29 +00:00
|
|
|
DXFHelper.h
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( DXF FILES ${DXF_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( CSM_SRCS
|
2009-04-26 15:09:03 +00:00
|
|
|
CSMLoader.cpp
|
|
|
|
CSMLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( CSM FILES ${CSM_SRCS})
|
2009-04-26 15:09:03 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( HMP_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
HMPFileData.h
|
|
|
|
HMPLoader.cpp
|
|
|
|
HMPLoader.h
|
|
|
|
HalfLifeFileData.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( HMP FILES ${HMP_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Irr_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
IRRLoader.cpp
|
|
|
|
IRRLoader.h
|
|
|
|
IRRMeshLoader.cpp
|
|
|
|
IRRMeshLoader.h
|
|
|
|
IRRShared.cpp
|
|
|
|
IRRShared.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Irr FILES ${Irr_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( LWO_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
LWOAnimation.cpp
|
|
|
|
LWOAnimation.h
|
|
|
|
LWOBLoader.cpp
|
|
|
|
LWOFileData.h
|
|
|
|
LWOLoader.cpp
|
|
|
|
LWOLoader.h
|
|
|
|
LWOMaterial.cpp
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( LWO FILES ${LWO_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( LWS_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
LWSLoader.cpp
|
|
|
|
LWSLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( LWS FILES ${LWS_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-07-15 11:13:42 +00:00
|
|
|
SET ( M3_SRCS
|
|
|
|
M3Importer.cpp
|
|
|
|
M3Importer.h
|
|
|
|
)
|
|
|
|
SOURCE_GROUP( M3 FILES ${M3_SRCS} )
|
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( MD2_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
MD2FileData.h
|
|
|
|
MD2Loader.cpp
|
|
|
|
MD2Loader.h
|
|
|
|
MD2NormalTable.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( MD2 FILES ${MD2_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( MD3_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
MD3FileData.h
|
|
|
|
MD3Loader.cpp
|
|
|
|
MD3Loader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( MD3 FILES ${MD3_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( MD5_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
MD5Loader.cpp
|
|
|
|
MD5Loader.h
|
|
|
|
MD5Parser.cpp
|
|
|
|
MD5Parser.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( MD5 FILES ${MD5_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( MDC_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
MDCFileData.h
|
|
|
|
MDCLoader.cpp
|
|
|
|
MDCLoader.h
|
|
|
|
MDCNormalTable.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( MDC FILES ${MDC_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( MDL_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
MDLDefaultColorMap.h
|
|
|
|
MDLFileData.h
|
|
|
|
MDLLoader.cpp
|
|
|
|
MDLLoader.h
|
|
|
|
MDLMaterialLoader.cpp
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( MDL FILES ${MDL_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( MaterialSystem_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
MaterialSystem.cpp
|
|
|
|
MaterialSystem.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( MaterialSystem FILES ${MaterialSystem_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( NFF_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
NFFLoader.cpp
|
|
|
|
NFFLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( NFF FILES ${NFF_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( NDO_SRCS
|
2010-08-09 08:24:16 +00:00
|
|
|
NDOLoader.cpp
|
|
|
|
NDOLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( NDO FILES ${NDO_SRCS})
|
2010-08-09 08:24:16 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( OFFFormat_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
OFFLoader.cpp
|
|
|
|
OFFLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( OFFFormat FILES ${OFFFormat_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Obj_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
ObjFileData.h
|
|
|
|
ObjFileImporter.cpp
|
|
|
|
ObjFileImporter.h
|
|
|
|
ObjFileMtlImporter.cpp
|
|
|
|
ObjFileMtlImporter.h
|
|
|
|
ObjFileParser.cpp
|
|
|
|
ObjFileParser.h
|
|
|
|
ObjTools.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Obj FILES ${Obj_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Ogre_SRCS
|
2009-09-05 12:04:32 +00:00
|
|
|
OgreImporter.h
|
|
|
|
OgreImporter.cpp
|
2010-03-19 20:45:40 +00:00
|
|
|
OgreImporterMaterial.cpp
|
2009-09-05 12:04:32 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Ogre FILES ${Ogre_SRCS})
|
2009-09-05 12:04:32 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Ply_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
PlyLoader.cpp
|
|
|
|
PlyLoader.h
|
|
|
|
PlyParser.cpp
|
|
|
|
PlyParser.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Ply FILES ${Ply_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET(MS3D_SRCS
|
2010-02-07 00:54:48 +00:00
|
|
|
MS3DLoader.cpp
|
|
|
|
MS3DLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( MS3D FILES ${MS3D_SRCS})
|
2010-02-07 00:54:48 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET(COB_SRCS
|
2010-04-02 04:17:05 +00:00
|
|
|
COBLoader.cpp
|
|
|
|
COBLoader.h
|
|
|
|
COBScene.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( COB FILES ${COB_SRCS})
|
2010-04-02 04:17:05 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET(BLENDER_SRCS
|
2010-05-10 10:22:24 +00:00
|
|
|
BlenderLoader.cpp
|
|
|
|
BlenderLoader.h
|
|
|
|
BlenderDNA.cpp
|
|
|
|
BlenderDNA.h
|
|
|
|
BlenderDNA.inl
|
|
|
|
BlenderScene.cpp
|
|
|
|
BlenderScene.h
|
|
|
|
BlenderSceneGen.h
|
2010-07-07 14:50:19 +00:00
|
|
|
BlenderIntermediate.h
|
|
|
|
BlenderModifier.h
|
|
|
|
BlenderModifier.cpp
|
2010-05-10 10:22:24 +00:00
|
|
|
)
|
2011-06-14 15:58:22 +00:00
|
|
|
SOURCE_GROUP( BLENDER FILES ${BLENDER_SRCS})
|
2010-05-10 10:22:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET(IFC_SRCS
|
2011-05-06 23:55:38 +00:00
|
|
|
IFCLoader.cpp
|
|
|
|
IFCLoader.h
|
|
|
|
IFCReaderGen.cpp
|
|
|
|
IFCReaderGen.h
|
2011-06-14 15:58:22 +00:00
|
|
|
IFCUtil.h
|
|
|
|
IFCUtil.cpp
|
|
|
|
IFCGeometry.cpp
|
|
|
|
IFCMaterial.cpp
|
|
|
|
IFCProfile.cpp
|
2011-07-17 01:09:56 +00:00
|
|
|
IFCCurve.cpp
|
2011-05-06 23:55:38 +00:00
|
|
|
STEPFile.h
|
|
|
|
STEPFileReader.h
|
|
|
|
STEPFileReader.cpp
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( IFC FILES ${IFC_SRCS})
|
2011-05-06 23:55:38 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( PostProcessing_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
CalcTangentsProcess.cpp
|
|
|
|
CalcTangentsProcess.h
|
|
|
|
ComputeUVMappingProcess.cpp
|
|
|
|
ComputeUVMappingProcess.h
|
|
|
|
ConvertToLHProcess.cpp
|
|
|
|
ConvertToLHProcess.h
|
|
|
|
FindDegenerates.cpp
|
|
|
|
FindDegenerates.h
|
|
|
|
FindInstancesProcess.cpp
|
|
|
|
FindInstancesProcess.h
|
|
|
|
FindInvalidDataProcess.cpp
|
|
|
|
FindInvalidDataProcess.h
|
|
|
|
FixNormalsStep.cpp
|
|
|
|
FixNormalsStep.h
|
|
|
|
GenFaceNormalsProcess.cpp
|
|
|
|
GenFaceNormalsProcess.h
|
|
|
|
GenVertexNormalsProcess.cpp
|
|
|
|
GenVertexNormalsProcess.h
|
|
|
|
PretransformVertices.cpp
|
|
|
|
PretransformVertices.h
|
|
|
|
ImproveCacheLocality.cpp
|
|
|
|
ImproveCacheLocality.h
|
|
|
|
JoinVerticesProcess.cpp
|
|
|
|
JoinVerticesProcess.h
|
|
|
|
LimitBoneWeightsProcess.cpp
|
|
|
|
LimitBoneWeightsProcess.h
|
|
|
|
RemoveRedundantMaterials.cpp
|
|
|
|
RemoveRedundantMaterials.h
|
|
|
|
RemoveVCProcess.cpp
|
|
|
|
RemoveVCProcess.h
|
|
|
|
SortByPTypeProcess.cpp
|
|
|
|
SortByPTypeProcess.h
|
|
|
|
SplitLargeMeshes.cpp
|
|
|
|
SplitLargeMeshes.h
|
|
|
|
TerragenLoader.cpp
|
|
|
|
TerragenLoader.h
|
|
|
|
TextureTransform.cpp
|
|
|
|
TextureTransform.h
|
|
|
|
TriangulateProcess.cpp
|
|
|
|
TriangulateProcess.h
|
|
|
|
ValidateDataStructure.cpp
|
|
|
|
ValidateDataStructure.h
|
|
|
|
OptimizeGraph.cpp
|
|
|
|
OptimizeGraph.h
|
|
|
|
OptimizeMeshes.cpp
|
|
|
|
OptimizeMeshes.h
|
2011-04-15 15:09:53 +00:00
|
|
|
DeboneProcess.cpp
|
|
|
|
DeboneProcess.h
|
|
|
|
ProcessHelper.h
|
2011-05-13 00:54:53 +00:00
|
|
|
ProcessHelper.cpp
|
|
|
|
PolyTools.h
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( PostProcessing FILES ${PostProcessing_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Q3D_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
Q3DLoader.cpp
|
|
|
|
Q3DLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Q3D FILES ${Q3D_SRCS})
|
2010-02-27 14:04:14 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Q3BSP_SRCS
|
2010-06-18 17:36:46 +00:00
|
|
|
Q3BSPFileData.h
|
|
|
|
Q3BSPFileParser.h
|
|
|
|
Q3BSPFileParser.cpp
|
|
|
|
Q3BSPFileImporter.h
|
|
|
|
Q3BSPFileImporter.cpp
|
|
|
|
Q3BSPZipArchive.h
|
|
|
|
Q3BSPZipArchive.cpp
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Q3BSP FILES ${Q3BSP_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Raw_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
RawLoader.cpp
|
|
|
|
RawLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Raw FILES ${Raw_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( SMD_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
SMDLoader.cpp
|
|
|
|
SMDLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( SMD FILES ${SMD_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( STL_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
STLLoader.cpp
|
|
|
|
STLLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( STL FILES ${STL_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Unreal_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
UnrealLoader.cpp
|
|
|
|
UnrealLoader.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Unreal FILES ${Unreal_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( XFile_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
XFileHelper.h
|
|
|
|
XFileImporter.cpp
|
|
|
|
XFileImporter.h
|
|
|
|
XFileParser.cpp
|
|
|
|
XFileParser.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( XFile FILES ${XFile_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Exporter_SRCS
|
2011-03-08 16:15:09 +00:00
|
|
|
Exporter.cpp
|
|
|
|
AssimpCExport.cpp
|
|
|
|
BlobIOSystem.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Exporter FILES ${Exporter_SRCS})
|
2011-03-08 16:15:09 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( Extra_SRCS
|
2010-04-11 01:41:24 +00:00
|
|
|
MakeVerboseFormat.cpp
|
|
|
|
MakeVerboseFormat.h
|
|
|
|
MD4FileData.h
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( Extra FILES ${Extra_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( IrrXML_SRCS
|
2009-04-24 20:53:24 +00:00
|
|
|
irrXMLWrapper.h
|
|
|
|
../contrib/irrXML/CXMLReaderImpl.h
|
|
|
|
../contrib/irrXML/heapsort.h
|
|
|
|
../contrib/irrXML/irrArray.h
|
|
|
|
../contrib/irrXML/irrString.h
|
|
|
|
../contrib/irrXML/irrTypes.h
|
|
|
|
../contrib/irrXML/irrXML.cpp
|
|
|
|
../contrib/irrXML/irrXML.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( IrrXML FILES ${IrrXML_SRCS})
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( ConvertUTF_SRCS
|
2009-08-21 22:49:58 +00:00
|
|
|
../contrib/ConvertUTF/ConvertUTF.h
|
|
|
|
../contrib/ConvertUTF/ConvertUTF.c
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( ConvertUTF FILES ${ConvertUTF_SRCS})
|
2009-08-21 22:49:58 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
SET( unzip_SRCS
|
2010-06-18 17:36:46 +00:00
|
|
|
../contrib/unzip/crypt.h
|
|
|
|
../contrib/unzip/ioapi.c
|
|
|
|
../contrib/unzip/ioapi.h
|
|
|
|
../contrib/unzip/unzip.c
|
|
|
|
../contrib/unzip/unzip.h
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( unzip FILES ${unzip_SRCS})
|
2010-06-18 17:36:46 +00:00
|
|
|
|
2011-05-09 19:34:21 +00:00
|
|
|
ADD_DEFINITIONS( -DASSIMP_BUILD_DLL_EXPORT )
|
|
|
|
|
|
|
|
if ( MSVC80 OR MSVC90 OR MSVC10 )
|
|
|
|
ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
|
|
|
|
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
|
|
|
|
endif ( MSVC80 OR MSVC90 OR MSVC10 )
|
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
if (UNZIP_FOUND)
|
|
|
|
SET (unzip_compile_SRCS "")
|
|
|
|
else (UNZIP_FOUND)
|
|
|
|
SET (unzip_compile_SRCS ${unzip_SRCS})
|
|
|
|
endif (UNZIP_FOUND)
|
2010-03-03 21:46:56 +00:00
|
|
|
|
2011-05-30 14:13:33 +00:00
|
|
|
ADD_LIBRARY( assimp SHARED
|
|
|
|
# Assimp Files
|
|
|
|
${Core_SRCS}
|
|
|
|
${Common_SRCS}
|
|
|
|
${Logging_SRCS}
|
|
|
|
${Exporter_SRCS}
|
|
|
|
${PostProcessing_SRCS}
|
|
|
|
|
|
|
|
# Model Support
|
|
|
|
${3DS_SRCS}
|
|
|
|
${AC_SRCS}
|
|
|
|
${ASE_SRCS}
|
|
|
|
${B3D_SRCS}
|
|
|
|
${BVH_SRCS}
|
|
|
|
${Collada_SRCS}
|
|
|
|
${DXF_SRCS}
|
|
|
|
${CSM_SRCS}
|
|
|
|
${HMP_SRCS}
|
|
|
|
${Irr_SRCS}
|
|
|
|
${LWO_SRCS}
|
|
|
|
${LWS_SRCS}
|
2011-07-15 11:13:42 +00:00
|
|
|
${M3_SRCS}
|
2011-05-30 14:13:33 +00:00
|
|
|
${MD2_SRCS}
|
|
|
|
${MD3_SRCS}
|
|
|
|
${MD5_SRCS}
|
|
|
|
${MDC_SRCS}
|
|
|
|
${MDL_SRCS}
|
|
|
|
${MaterialSystem_SRCS}
|
|
|
|
${NFF_SRCS}
|
|
|
|
${OFFFormat_SRCS}
|
|
|
|
${Obj_SRCS}
|
|
|
|
${Ogre_SRCS}
|
|
|
|
${Ply_SRCS}
|
|
|
|
${Q3D_SRCS}
|
|
|
|
${Q3BSP_SRCS}
|
|
|
|
${Raw_SRCS}
|
|
|
|
${SMD_SRCS}
|
|
|
|
${STL_SRCS}
|
|
|
|
${Unreal_SRCS}
|
|
|
|
${XFile_SRCS}
|
|
|
|
${Extra_SRCS}
|
|
|
|
${MS3D_SRCS}
|
|
|
|
${COB_SRCS}
|
|
|
|
${BLENDER_SRCS}
|
|
|
|
${NDO_SRCS}
|
|
|
|
${IFC_SRCS}
|
|
|
|
|
|
|
|
# Third-party libraries
|
|
|
|
${IrrXML_SRCS}
|
|
|
|
${ConvertUTF_SRCS}
|
|
|
|
${unzip_compile_SRCS}
|
2010-03-03 21:46:56 +00:00
|
|
|
# Necessary to show the headers in the project when using the VC++ generator:
|
2011-05-30 14:13:33 +00:00
|
|
|
${Boost_SRCS}
|
|
|
|
|
2010-03-03 21:46:56 +00:00
|
|
|
${PUBLIC_HEADERS}
|
|
|
|
${COMPILER_HEADERS}
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
|
|
|
|
2011-05-09 19:34:21 +00:00
|
|
|
TARGET_LINK_LIBRARIES(assimp ${ZLIB_LIBRARIES})
|
2010-02-27 12:00:00 +00:00
|
|
|
SET_TARGET_PROPERTIES( assimp PROPERTIES
|
|
|
|
VERSION ${LIBRARY_VERSION}
|
|
|
|
SOVERSION ${LIBRARY_SOVERSION}
|
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
# Build against external unzip, or add ../contrib/unzip so
|
|
|
|
# assimp can #include "unzip.h"
|
|
|
|
if (UNZIP_FOUND)
|
|
|
|
INCLUDE_DIRECTORIES(${UNZIP_INCLUDE_DIRS})
|
|
|
|
TARGET_LINK_LIBRARIES(assimp ${UNZIP_LIBRARIES})
|
|
|
|
else (UNZIP_FOUND)
|
|
|
|
INCLUDE_DIRECTORIES("../contrib/unzip")
|
|
|
|
endif (UNZIP_FOUND)
|
2010-02-27 12:00:00 +00:00
|
|
|
|
2011-05-09 19:34:21 +00:00
|
|
|
INSTALL( TARGETS assimp DESTINATION ${LIB_INSTALL_DIR} COMPONENT libassimp${ASSIMP_VERSION_MAJOR})
|
|
|
|
INSTALL( FILES ${PUBLIC_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/assimp COMPONENT assimp-dev)
|
|
|
|
INSTALL( FILES ${COMPILER_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/assimp/Compiler COMPONENT assimp-dev)
|