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
|
|
|
#
|
2012-02-03 16:25:12 +00:00
|
|
|
SET( HEADER_PATH ../include/assimp )
|
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
|
2012-02-03 17:04:06 +00:00
|
|
|
${HEADER_PATH}/anim.h
|
2012-04-22 23:14:39 +00:00
|
|
|
${HEADER_PATH}/ai_assert.h
|
2012-02-03 17:04:06 +00:00
|
|
|
${HEADER_PATH}/camera.h
|
|
|
|
${HEADER_PATH}/color4.h
|
|
|
|
${HEADER_PATH}/color4.inl
|
|
|
|
${HEADER_PATH}/config.h
|
|
|
|
${HEADER_PATH}/defs.h
|
|
|
|
${HEADER_PATH}/cfileio.h
|
|
|
|
${HEADER_PATH}/light.h
|
|
|
|
${HEADER_PATH}/material.h
|
|
|
|
${HEADER_PATH}/material.inl
|
|
|
|
${HEADER_PATH}/matrix3x3.h
|
|
|
|
${HEADER_PATH}/matrix3x3.inl
|
|
|
|
${HEADER_PATH}/matrix4x4.h
|
|
|
|
${HEADER_PATH}/matrix4x4.inl
|
|
|
|
${HEADER_PATH}/mesh.h
|
|
|
|
${HEADER_PATH}/postprocess.h
|
|
|
|
${HEADER_PATH}/quaternion.h
|
|
|
|
${HEADER_PATH}/quaternion.inl
|
|
|
|
${HEADER_PATH}/scene.h
|
2013-03-29 12:37:55 +00:00
|
|
|
${HEADER_PATH}/metadata.h
|
2012-02-03 17:04:06 +00:00
|
|
|
${HEADER_PATH}/texture.h
|
|
|
|
${HEADER_PATH}/types.h
|
|
|
|
${HEADER_PATH}/vector2.h
|
|
|
|
${HEADER_PATH}/vector2.inl
|
|
|
|
${HEADER_PATH}/vector3.h
|
|
|
|
${HEADER_PATH}/vector3.inl
|
|
|
|
${HEADER_PATH}/version.h
|
|
|
|
${HEADER_PATH}/cimport.h
|
2012-04-18 23:07:52 +00:00
|
|
|
${HEADER_PATH}/importerdesc.h
|
2012-02-03 17:04:06 +00:00
|
|
|
${HEADER_PATH}/Importer.hpp
|
|
|
|
${HEADER_PATH}/DefaultLogger.hpp
|
|
|
|
${HEADER_PATH}/ProgressHandler.hpp
|
|
|
|
${HEADER_PATH}/IOStream.hpp
|
|
|
|
${HEADER_PATH}/IOSystem.hpp
|
|
|
|
${HEADER_PATH}/Logger.hpp
|
|
|
|
${HEADER_PATH}/LogStream.hpp
|
|
|
|
${HEADER_PATH}/NullLogger.hpp
|
|
|
|
${HEADER_PATH}/cexport.h
|
|
|
|
${HEADER_PATH}/Exporter.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
|
2012-02-03 17:04:06 +00:00
|
|
|
${HEADER_PATH}/DefaultLogger.hpp
|
|
|
|
${HEADER_PATH}/IOStream.hpp
|
|
|
|
${HEADER_PATH}/LogStream.hpp
|
|
|
|
${HEADER_PATH}/Logger.hpp
|
|
|
|
${HEADER_PATH}/NullLogger.hpp
|
2009-04-24 20:53:24 +00:00
|
|
|
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
|
2011-08-01 20:58:31 +00:00
|
|
|
Importer.h
|
|
|
|
ScenePrivate.h
|
|
|
|
PostStepRegistry.cpp
|
|
|
|
ImporterRegistry.cpp
|
2009-04-24 20:53:24 +00:00
|
|
|
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-07-19 21:41:59 +00:00
|
|
|
|
|
|
|
ObjExporter.h
|
|
|
|
ObjExporter.cpp
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
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
|
2012-02-20 10:27:27 +00:00
|
|
|
OgreImporter.hpp
|
|
|
|
OgreXmlHelper.hpp
|
2009-09-05 12:04:32 +00:00
|
|
|
OgreImporter.cpp
|
2012-03-07 22:42:40 +00:00
|
|
|
OgreMaterial.cpp
|
|
|
|
OgreMesh.cpp
|
|
|
|
OgreSkeleton.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
|
2012-02-16 02:11:29 +00:00
|
|
|
PlyExporter.cpp
|
|
|
|
PlyExporter.h
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
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
|
2013-02-07 08:51:33 +00:00
|
|
|
IFCBoolean.cpp
|
|
|
|
IFCOpenings.cpp
|
2011-05-06 23:55:38 +00:00
|
|
|
STEPFile.h
|
|
|
|
STEPFileReader.h
|
|
|
|
STEPFileReader.cpp
|
2013-01-24 18:51:46 +00:00
|
|
|
STEPFileEncoding.cpp
|
|
|
|
STEPFileEncoding.h
|
2011-05-06 23:55:38 +00:00
|
|
|
)
|
2011-05-30 14:13:33 +00:00
|
|
|
SOURCE_GROUP( IFC FILES ${IFC_SRCS})
|
2011-05-06 23:55:38 +00:00
|
|
|
|
2012-03-20 16:52:33 +00:00
|
|
|
SET( XGL_SRCS
|
|
|
|
XGLLoader.cpp
|
|
|
|
XGLLoader.h
|
|
|
|
)
|
|
|
|
SOURCE_GROUP( XGL FILES ${XGL_SRCS})
|
|
|
|
|
|
|
|
|
2012-06-23 01:38:44 +00:00
|
|
|
SET(FBX_SRCS
|
|
|
|
FBXImporter.cpp
|
|
|
|
FBXCompileConfig.h
|
|
|
|
FBXImporter.h
|
|
|
|
FBXParser.cpp
|
|
|
|
FBXParser.h
|
|
|
|
FBXTokenizer.cpp
|
|
|
|
FBXTokenizer.h
|
2012-06-28 18:03:29 +00:00
|
|
|
FBXImportSettings.h
|
|
|
|
FBXConverter.h
|
|
|
|
FBXConverter.cpp
|
|
|
|
FBXUtil.h
|
|
|
|
FBXUtil.cpp
|
|
|
|
FBXDocument.h
|
|
|
|
FBXDocument.cpp
|
2012-07-07 19:11:09 +00:00
|
|
|
FBXProperties.h
|
|
|
|
FBXProperties.cpp
|
|
|
|
FBXMeshGeometry.cpp
|
|
|
|
FBXMaterial.cpp
|
|
|
|
FBXModel.cpp
|
2012-07-20 22:45:37 +00:00
|
|
|
FBXAnimation.cpp
|
2012-07-26 01:42:02 +00:00
|
|
|
FBXNodeAttribute.cpp
|
2012-07-26 16:05:24 +00:00
|
|
|
FBXDeformer.cpp
|
2012-08-09 00:08:12 +00:00
|
|
|
FBXBinaryTokenizer.cpp
|
2012-08-10 21:02:38 +00:00
|
|
|
FBXDocumentUtil.cpp
|
2012-06-23 01:38:44 +00:00
|
|
|
)
|
|
|
|
SOURCE_GROUP( FBX FILES ${FBX_SRCS})
|
|
|
|
|
|
|
|
|
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
|
2011-08-04 11:27:13 +00:00
|
|
|
MakeVerboseFormat.cpp
|
|
|
|
MakeVerboseFormat.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-08-04 11:27:13 +00:00
|
|
|
STLExporter.h
|
|
|
|
STLExporter.cpp
|
2009-04-24 20:53:24 +00:00
|
|
|
)
|
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
|
|
|
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
|
|
|
|
2012-01-17 01:49:17 +00:00
|
|
|
SET( Clipper_SRCS
|
|
|
|
../contrib/clipper/clipper.hpp
|
|
|
|
../contrib/clipper/clipper.cpp
|
|
|
|
)
|
|
|
|
SOURCE_GROUP( Clipper FILES ${Clipper_SRCS})
|
|
|
|
|
|
|
|
|
|
|
|
SET( Poly2Tri_SRCS
|
|
|
|
../contrib/poly2tri/poly2tri/common/shapes.cc
|
|
|
|
../contrib/poly2tri/poly2tri/common/shapes.h
|
|
|
|
../contrib/poly2tri/poly2tri/common/utils.h
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/advancing_front.h
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/advancing_front.cc
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/cdt.cc
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/cdt.h
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/sweep.cc
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/sweep.h
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/sweep_context.cc
|
|
|
|
../contrib/poly2tri/poly2tri/sweep/sweep_context.h
|
|
|
|
)
|
|
|
|
SOURCE_GROUP( Poly2Tri FILES ${Poly2Tri_SRCS})
|
|
|
|
|
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
|
|
|
|
2012-01-25 18:42:14 +00:00
|
|
|
|
|
|
|
# VC2010 fixes
|
2012-07-17 22:56:15 +00:00
|
|
|
if(MSVC10)
|
|
|
|
OPTION( VC10_STDINT_FIX "Fix for VC10 Compiler regarding pstdint.h redefinition errors" OFF )
|
|
|
|
if( VC10_STDINT_FIX )
|
|
|
|
ADD_DEFINITIONS( -D_STDINT )
|
|
|
|
endif( VC10_STDINT_FIX )
|
|
|
|
endif(MSVC10)
|
2012-01-25 18:42:14 +00:00
|
|
|
|
2011-05-09 19:34:21 +00:00
|
|
|
ADD_DEFINITIONS( -DASSIMP_BUILD_DLL_EXPORT )
|
|
|
|
|
2012-07-17 22:56:15 +00:00
|
|
|
if ( MSVC )
|
2011-05-09 19:34:21 +00:00
|
|
|
ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
|
|
|
|
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
|
2012-07-17 22:56:15 +00:00
|
|
|
endif ( MSVC )
|
2011-05-09 19:34:21 +00:00
|
|
|
|
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
|
|
|
|
2012-05-01 10:33:55 +00:00
|
|
|
SET( assim_src
|
2011-11-24 10:59:09 +00:00
|
|
|
# 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}
|
|
|
|
${M3_SRCS}
|
|
|
|
${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}
|
2012-03-20 16:52:33 +00:00
|
|
|
${XGL_SRCS}
|
2012-06-23 01:38:44 +00:00
|
|
|
${FBX_SRCS}
|
2011-11-24 10:59:09 +00:00
|
|
|
|
|
|
|
# Third-party libraries
|
|
|
|
${IrrXML_SRCS}
|
|
|
|
${ConvertUTF_SRCS}
|
|
|
|
${unzip_compile_SRCS}
|
2012-01-17 01:49:17 +00:00
|
|
|
${Poly2Tri_SRCS}
|
|
|
|
${Clipper_SRCS}
|
2011-11-24 10:59:09 +00:00
|
|
|
# Necessary to show the headers in the project when using the VC++ generator:
|
|
|
|
${Boost_SRCS}
|
|
|
|
|
|
|
|
${PUBLIC_HEADERS}
|
|
|
|
${COMPILER_HEADERS}
|
|
|
|
)
|
2012-07-17 22:56:15 +00:00
|
|
|
IF ( ASSIMP_BUILD_STATIC_LIB )
|
2012-05-01 10:33:55 +00:00
|
|
|
ADD_LIBRARY( assimp STATIC
|
|
|
|
${assim_src}
|
|
|
|
)
|
2012-07-17 22:56:15 +00:00
|
|
|
ELSE ( ASSIMP_BUILD_STATIC_LIB )
|
2012-05-01 10:33:55 +00:00
|
|
|
ADD_LIBRARY( assimp SHARED
|
|
|
|
${assim_src}
|
|
|
|
)
|
2012-07-17 22:56:15 +00:00
|
|
|
ENDIF ( ASSIMP_BUILD_STATIC_LIB )
|
2009-04-24 20:53:24 +00:00
|
|
|
|
2012-07-17 22:56:15 +00:00
|
|
|
SET_PROPERTY(TARGET assimp PROPERTY DEBUG_POSTFIX ${ASSIMP_DEBUG_POSTFIX})
|
2012-02-18 10:55:47 +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
|
2012-06-05 19:30:45 +00:00
|
|
|
VERSION ${ASSIMP_VERSION}
|
2012-06-11 11:49:08 +00:00
|
|
|
SOVERSION ${ASSIMP_SOVERSION} # use full version
|
2013-02-26 05:02:35 +00:00
|
|
|
OUTPUT_NAME assimp${ASSIMP_LIBRARY_SUFFIX}
|
2010-02-27 12:00:00 +00:00
|
|
|
)
|
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
|
|
|
|
2012-07-17 22:56:15 +00:00
|
|
|
INSTALL( TARGETS assimp DESTINATION ${ASSIMP_LIB_INSTALL_DIR} COMPONENT ${LIBASSIMP_COMPONENT})
|
|
|
|
INSTALL( FILES ${PUBLIC_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp COMPONENT assimp-dev)
|
|
|
|
INSTALL( FILES ${COMPILER_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp/Compiler COMPONENT assimp-dev)
|
|
|
|
|
|
|
|
if(MSVC AND ASSIMP_INSTALL_PDB)
|
|
|
|
install(FILES ${Assimp_BINARY_DIR}/code/Debug/assimp${ASSIMP_DEBUG_POSTFIX}.pdb
|
|
|
|
DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
|
|
|
CONFIGURATIONS Debug
|
|
|
|
)
|
|
|
|
install(FILES ${Assimp_BINARY_DIR}/code/RelWithDebInfo/assimp.pdb
|
|
|
|
DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
|
|
|
|
CONFIGURATIONS RelWithDebInfo
|
|
|
|
)
|
2012-08-09 00:08:12 +00:00
|
|
|
endif ()
|