nuclear@0: # Listing and grouping of all the source files. nuclear@0: # 1) Set the file lists for each component nuclear@0: # 2) Create a Source Group for each component, for IDE project orginization nuclear@0: # 3) Add libassimp using the file lists (eliminates duplication of file names between nuclear@0: # source groups and library command) nuclear@0: # nuclear@0: SET( HEADER_PATH ../include/assimp ) nuclear@0: nuclear@0: SET( COMPILER_HEADERS nuclear@0: ${HEADER_PATH}/Compiler/pushpack1.h nuclear@0: ${HEADER_PATH}/Compiler/poppack1.h nuclear@0: pstdint.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Compiler FILES ${COMPILER_HEADERS}) nuclear@0: nuclear@0: SET( PUBLIC_HEADERS nuclear@0: ${HEADER_PATH}/anim.h nuclear@0: ${HEADER_PATH}/ai_assert.h nuclear@0: ${HEADER_PATH}/camera.h nuclear@0: ${HEADER_PATH}/color4.h nuclear@0: ${HEADER_PATH}/color4.inl nuclear@0: ${HEADER_PATH}/config.h nuclear@0: ${HEADER_PATH}/defs.h nuclear@0: ${HEADER_PATH}/cfileio.h nuclear@0: ${HEADER_PATH}/light.h nuclear@0: ${HEADER_PATH}/material.h nuclear@0: ${HEADER_PATH}/material.inl nuclear@0: ${HEADER_PATH}/matrix3x3.h nuclear@0: ${HEADER_PATH}/matrix3x3.inl nuclear@0: ${HEADER_PATH}/matrix4x4.h nuclear@0: ${HEADER_PATH}/matrix4x4.inl nuclear@0: ${HEADER_PATH}/mesh.h nuclear@0: ${HEADER_PATH}/postprocess.h nuclear@0: ${HEADER_PATH}/quaternion.h nuclear@0: ${HEADER_PATH}/quaternion.inl nuclear@0: ${HEADER_PATH}/scene.h nuclear@0: ${HEADER_PATH}/metadata.h nuclear@0: ${HEADER_PATH}/texture.h nuclear@0: ${HEADER_PATH}/types.h nuclear@0: ${HEADER_PATH}/vector2.h nuclear@0: ${HEADER_PATH}/vector2.inl nuclear@0: ${HEADER_PATH}/vector3.h nuclear@0: ${HEADER_PATH}/vector3.inl nuclear@0: ${HEADER_PATH}/version.h nuclear@0: ${HEADER_PATH}/cimport.h nuclear@0: ${HEADER_PATH}/importerdesc.h nuclear@0: ${HEADER_PATH}/Importer.hpp nuclear@0: ${HEADER_PATH}/DefaultLogger.hpp nuclear@0: ${HEADER_PATH}/ProgressHandler.hpp nuclear@0: ${HEADER_PATH}/IOStream.hpp nuclear@0: ${HEADER_PATH}/IOSystem.hpp nuclear@0: ${HEADER_PATH}/Logger.hpp nuclear@0: ${HEADER_PATH}/LogStream.hpp nuclear@0: ${HEADER_PATH}/NullLogger.hpp nuclear@0: ${HEADER_PATH}/cexport.h nuclear@0: ${HEADER_PATH}/Exporter.hpp nuclear@0: ) nuclear@0: nuclear@0: SET( Core_SRCS nuclear@0: Assimp.cpp nuclear@0: ) nuclear@0: nuclear@0: SET( Boost_SRCS nuclear@0: BoostWorkaround/boost/math/common_factor_rt.hpp nuclear@0: BoostWorkaround/boost/foreach.hpp nuclear@0: BoostWorkaround/boost/format.hpp nuclear@0: BoostWorkaround/boost/scoped_array.hpp nuclear@0: BoostWorkaround/boost/scoped_ptr.hpp nuclear@0: BoostWorkaround/boost/shared_array.hpp nuclear@0: BoostWorkaround/boost/shared_ptr.hpp nuclear@0: BoostWorkaround/boost/make_shared.hpp nuclear@0: BoostWorkaround/boost/static_assert.hpp nuclear@0: BoostWorkaround/boost/tuple/tuple.hpp nuclear@0: ) nuclear@0: SOURCE_GROUP(Boost FILES ${Boost_SRCS}) nuclear@0: nuclear@0: SET( Logging_SRCS nuclear@0: ${HEADER_PATH}/DefaultLogger.hpp nuclear@0: ${HEADER_PATH}/IOStream.hpp nuclear@0: ${HEADER_PATH}/LogStream.hpp nuclear@0: ${HEADER_PATH}/Logger.hpp nuclear@0: ${HEADER_PATH}/NullLogger.hpp nuclear@0: Win32DebugLogStream.h nuclear@0: DefaultLogger.cpp nuclear@0: FileLogStream.h nuclear@0: ) nuclear@0: SOURCE_GROUP(Logging FILES ${Logging_SRCS}) nuclear@0: nuclear@0: SET( Common_SRCS nuclear@0: fast_atof.h nuclear@0: qnan.h nuclear@0: BaseImporter.cpp nuclear@0: BaseImporter.h nuclear@0: BaseProcess.cpp nuclear@0: BaseProcess.h nuclear@0: Importer.h nuclear@0: ScenePrivate.h nuclear@0: PostStepRegistry.cpp nuclear@0: ImporterRegistry.cpp nuclear@0: ByteSwap.h nuclear@0: DefaultProgressHandler.h nuclear@0: DefaultIOStream.cpp nuclear@0: DefaultIOStream.h nuclear@0: DefaultIOSystem.cpp nuclear@0: DefaultIOSystem.h nuclear@0: CInterfaceIOWrapper.h nuclear@0: Hash.h nuclear@0: Importer.cpp nuclear@0: IFF.h nuclear@0: ParsingUtils.h nuclear@0: StdOStreamLogStream.h nuclear@0: StreamReader.h nuclear@0: StringComparison.h nuclear@0: SGSpatialSort.cpp nuclear@0: SGSpatialSort.h nuclear@0: VertexTriangleAdjacency.cpp nuclear@0: VertexTriangleAdjacency.h nuclear@0: GenericProperty.h nuclear@0: SpatialSort.cpp nuclear@0: SpatialSort.h nuclear@0: SceneCombiner.cpp nuclear@0: SceneCombiner.h nuclear@0: ScenePreprocessor.cpp nuclear@0: ScenePreprocessor.h nuclear@0: SkeletonMeshBuilder.cpp nuclear@0: SkeletonMeshBuilder.h nuclear@0: SplitByBoneCountProcess.cpp nuclear@0: SplitByBoneCountProcess.h nuclear@0: SmoothingGroups.h nuclear@0: StandardShapes.cpp nuclear@0: StandardShapes.h nuclear@0: TargetAnimation.cpp nuclear@0: TargetAnimation.h nuclear@0: RemoveComments.cpp nuclear@0: RemoveComments.h nuclear@0: Subdivision.cpp nuclear@0: Subdivision.h nuclear@0: Vertex.h nuclear@0: LineSplitter.h nuclear@0: TinyFormatter.h nuclear@0: Profiler.h nuclear@0: LogAux.h nuclear@0: ) nuclear@0: SOURCE_GROUP(Common FILES ${Common_SRCS}) nuclear@0: nuclear@0: SET( 3DS_SRCS nuclear@0: 3DSConverter.cpp nuclear@0: 3DSHelper.h nuclear@0: 3DSLoader.cpp nuclear@0: 3DSLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP(3DS FILES ${3DS_SRCS}) nuclear@0: nuclear@0: SET( AC_SRCS nuclear@0: ACLoader.cpp nuclear@0: ACLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( AC FILES ${AC_SRCS}) nuclear@0: nuclear@0: SET( ASE_SRCS nuclear@0: ASELoader.cpp nuclear@0: ASELoader.h nuclear@0: ASEParser.cpp nuclear@0: ASEParser.h nuclear@0: ) nuclear@0: SOURCE_GROUP( ASE FILES ${ASE_SRCS}) nuclear@0: nuclear@0: SET( B3D_SRCS nuclear@0: B3DImporter.cpp nuclear@0: B3DImporter.h nuclear@0: ) nuclear@0: SOURCE_GROUP( B3D FILES ${B3D_SRCS}) nuclear@0: nuclear@0: SET( BVH_SRCS nuclear@0: BVHLoader.cpp nuclear@0: BVHLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( BVH FILES ${BVH_SRCS}) nuclear@0: nuclear@0: SET( Collada_SRCS nuclear@0: ColladaHelper.h nuclear@0: ColladaLoader.cpp nuclear@0: ColladaLoader.h nuclear@0: ColladaParser.cpp nuclear@0: ColladaParser.h nuclear@0: ColladaExporter.h nuclear@0: ColladaExporter.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( Collada FILES ${Collada_SRCS}) nuclear@0: nuclear@0: SET( DXF_SRCS nuclear@0: DXFLoader.cpp nuclear@0: DXFLoader.h nuclear@0: DXFHelper.h nuclear@0: ) nuclear@0: SOURCE_GROUP( DXF FILES ${DXF_SRCS}) nuclear@0: nuclear@0: SET( CSM_SRCS nuclear@0: CSMLoader.cpp nuclear@0: CSMLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( CSM FILES ${CSM_SRCS}) nuclear@0: nuclear@0: SET( HMP_SRCS nuclear@0: HMPFileData.h nuclear@0: HMPLoader.cpp nuclear@0: HMPLoader.h nuclear@0: HalfLifeFileData.h nuclear@0: ) nuclear@0: SOURCE_GROUP( HMP FILES ${HMP_SRCS}) nuclear@0: nuclear@0: SET( Irr_SRCS nuclear@0: IRRLoader.cpp nuclear@0: IRRLoader.h nuclear@0: IRRMeshLoader.cpp nuclear@0: IRRMeshLoader.h nuclear@0: IRRShared.cpp nuclear@0: IRRShared.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Irr FILES ${Irr_SRCS}) nuclear@0: nuclear@0: SET( LWO_SRCS nuclear@0: LWOAnimation.cpp nuclear@0: LWOAnimation.h nuclear@0: LWOBLoader.cpp nuclear@0: LWOFileData.h nuclear@0: LWOLoader.cpp nuclear@0: LWOLoader.h nuclear@0: LWOMaterial.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( LWO FILES ${LWO_SRCS}) nuclear@0: nuclear@0: SET( LWS_SRCS nuclear@0: LWSLoader.cpp nuclear@0: LWSLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( LWS FILES ${LWS_SRCS}) nuclear@0: nuclear@0: nuclear@0: nuclear@0: SET( MD2_SRCS nuclear@0: MD2FileData.h nuclear@0: MD2Loader.cpp nuclear@0: MD2Loader.h nuclear@0: MD2NormalTable.h nuclear@0: ) nuclear@0: SOURCE_GROUP( MD2 FILES ${MD2_SRCS}) nuclear@0: nuclear@0: SET( MD3_SRCS nuclear@0: MD3FileData.h nuclear@0: MD3Loader.cpp nuclear@0: MD3Loader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( MD3 FILES ${MD3_SRCS}) nuclear@0: nuclear@0: SET( MD5_SRCS nuclear@0: MD5Loader.cpp nuclear@0: MD5Loader.h nuclear@0: MD5Parser.cpp nuclear@0: MD5Parser.h nuclear@0: ) nuclear@0: SOURCE_GROUP( MD5 FILES ${MD5_SRCS}) nuclear@0: nuclear@0: SET( MDC_SRCS nuclear@0: MDCFileData.h nuclear@0: MDCLoader.cpp nuclear@0: MDCLoader.h nuclear@0: MDCNormalTable.h nuclear@0: ) nuclear@0: SOURCE_GROUP( MDC FILES ${MDC_SRCS}) nuclear@0: nuclear@0: SET( MDL_SRCS nuclear@0: MDLDefaultColorMap.h nuclear@0: MDLFileData.h nuclear@0: MDLLoader.cpp nuclear@0: MDLLoader.h nuclear@0: MDLMaterialLoader.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( MDL FILES ${MDL_SRCS}) nuclear@0: nuclear@0: SET( MaterialSystem_SRCS nuclear@0: MaterialSystem.cpp nuclear@0: MaterialSystem.h nuclear@0: ) nuclear@0: SOURCE_GROUP( MaterialSystem FILES ${MaterialSystem_SRCS}) nuclear@0: nuclear@0: SET( NFF_SRCS nuclear@0: NFFLoader.cpp nuclear@0: NFFLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( NFF FILES ${NFF_SRCS}) nuclear@0: nuclear@0: SET( NDO_SRCS nuclear@0: NDOLoader.cpp nuclear@0: NDOLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( NDO FILES ${NDO_SRCS}) nuclear@0: nuclear@0: SET( OFFFormat_SRCS nuclear@0: OFFLoader.cpp nuclear@0: OFFLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( OFFFormat FILES ${OFFFormat_SRCS}) nuclear@0: nuclear@0: SET( Obj_SRCS nuclear@0: ObjFileData.h nuclear@0: ObjFileImporter.cpp nuclear@0: ObjFileImporter.h nuclear@0: ObjFileMtlImporter.cpp nuclear@0: ObjFileMtlImporter.h nuclear@0: ObjFileParser.cpp nuclear@0: ObjFileParser.h nuclear@0: ObjTools.h nuclear@0: nuclear@0: ObjExporter.h nuclear@0: ObjExporter.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( Obj FILES ${Obj_SRCS}) nuclear@0: nuclear@0: SET( Ogre_SRCS nuclear@0: OgreImporter.hpp nuclear@0: OgreXmlHelper.hpp nuclear@0: OgreImporter.cpp nuclear@0: OgreMaterial.cpp nuclear@0: OgreMesh.cpp nuclear@0: OgreSkeleton.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( Ogre FILES ${Ogre_SRCS}) nuclear@0: nuclear@0: SET( Ply_SRCS nuclear@0: PlyLoader.cpp nuclear@0: PlyLoader.h nuclear@0: PlyParser.cpp nuclear@0: PlyParser.h nuclear@0: PlyExporter.cpp nuclear@0: PlyExporter.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Ply FILES ${Ply_SRCS}) nuclear@0: nuclear@0: SET(MS3D_SRCS nuclear@0: MS3DLoader.cpp nuclear@0: MS3DLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( MS3D FILES ${MS3D_SRCS}) nuclear@0: nuclear@0: SET(COB_SRCS nuclear@0: COBLoader.cpp nuclear@0: COBLoader.h nuclear@0: COBScene.h nuclear@0: ) nuclear@0: SOURCE_GROUP( COB FILES ${COB_SRCS}) nuclear@0: nuclear@0: SET(BLENDER_SRCS nuclear@0: BlenderLoader.cpp nuclear@0: BlenderLoader.h nuclear@0: BlenderDNA.cpp nuclear@0: BlenderDNA.h nuclear@0: BlenderDNA.inl nuclear@0: BlenderScene.cpp nuclear@0: BlenderScene.h nuclear@0: BlenderSceneGen.h nuclear@0: BlenderIntermediate.h nuclear@0: BlenderModifier.h nuclear@0: BlenderModifier.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( BLENDER FILES ${BLENDER_SRCS}) nuclear@0: nuclear@0: SET(IFC_SRCS nuclear@0: IFCLoader.cpp nuclear@0: IFCLoader.h nuclear@0: IFCReaderGen.cpp nuclear@0: IFCReaderGen.h nuclear@0: IFCUtil.h nuclear@0: IFCUtil.cpp nuclear@0: IFCGeometry.cpp nuclear@0: IFCMaterial.cpp nuclear@0: IFCProfile.cpp nuclear@0: IFCCurve.cpp nuclear@0: IFCBoolean.cpp nuclear@0: IFCOpenings.cpp nuclear@0: STEPFile.h nuclear@0: STEPFileReader.h nuclear@0: STEPFileReader.cpp nuclear@0: STEPFileEncoding.cpp nuclear@0: STEPFileEncoding.h nuclear@0: ) nuclear@0: SOURCE_GROUP( IFC FILES ${IFC_SRCS}) nuclear@0: nuclear@0: SET( XGL_SRCS nuclear@0: XGLLoader.cpp nuclear@0: XGLLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( XGL FILES ${XGL_SRCS}) nuclear@0: nuclear@0: nuclear@0: SET(FBX_SRCS nuclear@0: FBXImporter.cpp nuclear@0: FBXCompileConfig.h nuclear@0: FBXImporter.h nuclear@0: FBXParser.cpp nuclear@0: FBXParser.h nuclear@0: FBXTokenizer.cpp nuclear@0: FBXTokenizer.h nuclear@0: FBXImportSettings.h nuclear@0: FBXConverter.h nuclear@0: FBXConverter.cpp nuclear@0: FBXUtil.h nuclear@0: FBXUtil.cpp nuclear@0: FBXDocument.h nuclear@0: FBXDocument.cpp nuclear@0: FBXProperties.h nuclear@0: FBXProperties.cpp nuclear@0: FBXMeshGeometry.cpp nuclear@0: FBXMaterial.cpp nuclear@0: FBXModel.cpp nuclear@0: FBXAnimation.cpp nuclear@0: FBXNodeAttribute.cpp nuclear@0: FBXDeformer.cpp nuclear@0: FBXBinaryTokenizer.cpp nuclear@0: FBXDocumentUtil.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( FBX FILES ${FBX_SRCS}) nuclear@0: nuclear@0: nuclear@0: SET( PostProcessing_SRCS nuclear@0: CalcTangentsProcess.cpp nuclear@0: CalcTangentsProcess.h nuclear@0: ComputeUVMappingProcess.cpp nuclear@0: ComputeUVMappingProcess.h nuclear@0: ConvertToLHProcess.cpp nuclear@0: ConvertToLHProcess.h nuclear@0: FindDegenerates.cpp nuclear@0: FindDegenerates.h nuclear@0: FindInstancesProcess.cpp nuclear@0: FindInstancesProcess.h nuclear@0: FindInvalidDataProcess.cpp nuclear@0: FindInvalidDataProcess.h nuclear@0: FixNormalsStep.cpp nuclear@0: FixNormalsStep.h nuclear@0: GenFaceNormalsProcess.cpp nuclear@0: GenFaceNormalsProcess.h nuclear@0: GenVertexNormalsProcess.cpp nuclear@0: GenVertexNormalsProcess.h nuclear@0: PretransformVertices.cpp nuclear@0: PretransformVertices.h nuclear@0: ImproveCacheLocality.cpp nuclear@0: ImproveCacheLocality.h nuclear@0: JoinVerticesProcess.cpp nuclear@0: JoinVerticesProcess.h nuclear@0: LimitBoneWeightsProcess.cpp nuclear@0: LimitBoneWeightsProcess.h nuclear@0: RemoveRedundantMaterials.cpp nuclear@0: RemoveRedundantMaterials.h nuclear@0: RemoveVCProcess.cpp nuclear@0: RemoveVCProcess.h nuclear@0: SortByPTypeProcess.cpp nuclear@0: SortByPTypeProcess.h nuclear@0: SplitLargeMeshes.cpp nuclear@0: SplitLargeMeshes.h nuclear@0: TerragenLoader.cpp nuclear@0: TerragenLoader.h nuclear@0: TextureTransform.cpp nuclear@0: TextureTransform.h nuclear@0: TriangulateProcess.cpp nuclear@0: TriangulateProcess.h nuclear@0: ValidateDataStructure.cpp nuclear@0: ValidateDataStructure.h nuclear@0: OptimizeGraph.cpp nuclear@0: OptimizeGraph.h nuclear@0: OptimizeMeshes.cpp nuclear@0: OptimizeMeshes.h nuclear@0: DeboneProcess.cpp nuclear@0: DeboneProcess.h nuclear@0: ProcessHelper.h nuclear@0: ProcessHelper.cpp nuclear@0: PolyTools.h nuclear@0: MakeVerboseFormat.cpp nuclear@0: MakeVerboseFormat.h nuclear@0: ) nuclear@0: SOURCE_GROUP( PostProcessing FILES ${PostProcessing_SRCS}) nuclear@0: nuclear@0: SET( Q3D_SRCS nuclear@0: Q3DLoader.cpp nuclear@0: Q3DLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Q3D FILES ${Q3D_SRCS}) nuclear@0: nuclear@0: SET( Q3BSP_SRCS nuclear@0: Q3BSPFileData.h nuclear@0: Q3BSPFileParser.h nuclear@0: Q3BSPFileParser.cpp nuclear@0: Q3BSPFileImporter.h nuclear@0: Q3BSPFileImporter.cpp nuclear@0: Q3BSPZipArchive.h nuclear@0: Q3BSPZipArchive.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( Q3BSP FILES ${Q3BSP_SRCS}) nuclear@0: nuclear@0: SET( Raw_SRCS nuclear@0: RawLoader.cpp nuclear@0: RawLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Raw FILES ${Raw_SRCS}) nuclear@0: nuclear@0: SET( SMD_SRCS nuclear@0: SMDLoader.cpp nuclear@0: SMDLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( SMD FILES ${SMD_SRCS}) nuclear@0: nuclear@0: SET( STL_SRCS nuclear@0: STLLoader.cpp nuclear@0: STLLoader.h nuclear@0: STLExporter.h nuclear@0: STLExporter.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( STL FILES ${STL_SRCS}) nuclear@0: nuclear@0: SET( Unreal_SRCS nuclear@0: UnrealLoader.cpp nuclear@0: UnrealLoader.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Unreal FILES ${Unreal_SRCS}) nuclear@0: nuclear@0: SET( XFile_SRCS nuclear@0: XFileHelper.h nuclear@0: XFileImporter.cpp nuclear@0: XFileImporter.h nuclear@0: XFileParser.cpp nuclear@0: XFileParser.h nuclear@0: ) nuclear@0: SOURCE_GROUP( XFile FILES ${XFile_SRCS}) nuclear@0: nuclear@0: SET( Exporter_SRCS nuclear@0: Exporter.cpp nuclear@0: AssimpCExport.cpp nuclear@0: BlobIOSystem.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Exporter FILES ${Exporter_SRCS}) nuclear@0: nuclear@0: SET( Extra_SRCS nuclear@0: MD4FileData.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Extra FILES ${Extra_SRCS}) nuclear@0: nuclear@0: SET( IrrXML_SRCS nuclear@0: irrXMLWrapper.h nuclear@0: ../contrib/irrXML/CXMLReaderImpl.h nuclear@0: ../contrib/irrXML/heapsort.h nuclear@0: ../contrib/irrXML/irrArray.h nuclear@0: ../contrib/irrXML/irrString.h nuclear@0: ../contrib/irrXML/irrTypes.h nuclear@0: ../contrib/irrXML/irrXML.cpp nuclear@0: ../contrib/irrXML/irrXML.h nuclear@0: ) nuclear@0: SOURCE_GROUP( IrrXML FILES ${IrrXML_SRCS}) nuclear@0: nuclear@0: SET( ConvertUTF_SRCS nuclear@0: ../contrib/ConvertUTF/ConvertUTF.h nuclear@0: ../contrib/ConvertUTF/ConvertUTF.c nuclear@0: ) nuclear@0: SOURCE_GROUP( ConvertUTF FILES ${ConvertUTF_SRCS}) nuclear@0: nuclear@0: SET( Clipper_SRCS nuclear@0: ../contrib/clipper/clipper.hpp nuclear@0: ../contrib/clipper/clipper.cpp nuclear@0: ) nuclear@0: SOURCE_GROUP( Clipper FILES ${Clipper_SRCS}) nuclear@0: nuclear@0: nuclear@0: SET( Poly2Tri_SRCS nuclear@0: ../contrib/poly2tri/poly2tri/common/shapes.cc nuclear@0: ../contrib/poly2tri/poly2tri/common/shapes.h nuclear@0: ../contrib/poly2tri/poly2tri/common/utils.h nuclear@0: ../contrib/poly2tri/poly2tri/sweep/advancing_front.h nuclear@0: ../contrib/poly2tri/poly2tri/sweep/advancing_front.cc nuclear@0: ../contrib/poly2tri/poly2tri/sweep/cdt.cc nuclear@0: ../contrib/poly2tri/poly2tri/sweep/cdt.h nuclear@0: ../contrib/poly2tri/poly2tri/sweep/sweep.cc nuclear@0: ../contrib/poly2tri/poly2tri/sweep/sweep.h nuclear@0: ../contrib/poly2tri/poly2tri/sweep/sweep_context.cc nuclear@0: ../contrib/poly2tri/poly2tri/sweep/sweep_context.h nuclear@0: ) nuclear@0: SOURCE_GROUP( Poly2Tri FILES ${Poly2Tri_SRCS}) nuclear@0: nuclear@0: SET( unzip_SRCS nuclear@0: ../contrib/unzip/crypt.h nuclear@0: ../contrib/unzip/ioapi.c nuclear@0: ../contrib/unzip/ioapi.h nuclear@0: ../contrib/unzip/unzip.c nuclear@0: ../contrib/unzip/unzip.h nuclear@0: ) nuclear@0: SOURCE_GROUP( unzip FILES ${unzip_SRCS}) nuclear@0: nuclear@0: nuclear@0: # VC2010 fixes nuclear@0: if(MSVC10) nuclear@0: OPTION( VC10_STDINT_FIX "Fix for VC10 Compiler regarding pstdint.h redefinition errors" OFF ) nuclear@0: if( VC10_STDINT_FIX ) nuclear@0: ADD_DEFINITIONS( -D_STDINT ) nuclear@0: endif( VC10_STDINT_FIX ) nuclear@0: endif(MSVC10) nuclear@0: nuclear@0: ADD_DEFINITIONS( -DASSIMP_BUILD_DLL_EXPORT ) nuclear@0: nuclear@0: if ( MSVC ) nuclear@0: ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS ) nuclear@0: ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS ) nuclear@0: endif ( MSVC ) nuclear@0: nuclear@0: if (UNZIP_FOUND) nuclear@0: SET (unzip_compile_SRCS "") nuclear@0: else (UNZIP_FOUND) nuclear@0: SET (unzip_compile_SRCS ${unzip_SRCS}) nuclear@0: endif (UNZIP_FOUND) nuclear@0: nuclear@0: SET( assimp_src nuclear@0: # Assimp Files nuclear@0: ${Core_SRCS} nuclear@0: ${Common_SRCS} nuclear@0: ${Logging_SRCS} nuclear@0: ${Exporter_SRCS} nuclear@0: ${PostProcessing_SRCS} nuclear@0: nuclear@0: # Model Support nuclear@0: ${3DS_SRCS} nuclear@0: ${AC_SRCS} nuclear@0: ${ASE_SRCS} nuclear@0: ${B3D_SRCS} nuclear@0: ${BVH_SRCS} nuclear@0: ${Collada_SRCS} nuclear@0: ${DXF_SRCS} nuclear@0: ${CSM_SRCS} nuclear@0: ${HMP_SRCS} nuclear@0: ${Irr_SRCS} nuclear@0: ${LWO_SRCS} nuclear@0: ${LWS_SRCS} nuclear@0: ${MD2_SRCS} nuclear@0: ${MD3_SRCS} nuclear@0: ${MD5_SRCS} nuclear@0: ${MDC_SRCS} nuclear@0: ${MDL_SRCS} nuclear@0: ${MaterialSystem_SRCS} nuclear@0: ${NFF_SRCS} nuclear@0: ${OFFFormat_SRCS} nuclear@0: ${Obj_SRCS} nuclear@0: ${Ogre_SRCS} nuclear@0: ${Ply_SRCS} nuclear@0: ${Q3D_SRCS} nuclear@0: ${Q3BSP_SRCS} nuclear@0: ${Raw_SRCS} nuclear@0: ${SMD_SRCS} nuclear@0: ${STL_SRCS} nuclear@0: ${Unreal_SRCS} nuclear@0: ${XFile_SRCS} nuclear@0: ${Extra_SRCS} nuclear@0: ${MS3D_SRCS} nuclear@0: ${COB_SRCS} nuclear@0: ${BLENDER_SRCS} nuclear@0: ${NDO_SRCS} nuclear@0: ${IFC_SRCS} nuclear@0: ${XGL_SRCS} nuclear@0: ${FBX_SRCS} nuclear@0: nuclear@0: # Third-party libraries nuclear@0: ${IrrXML_SRCS} nuclear@0: ${ConvertUTF_SRCS} nuclear@0: ${unzip_compile_SRCS} nuclear@0: ${Poly2Tri_SRCS} nuclear@0: ${Clipper_SRCS} nuclear@0: # Necessary to show the headers in the project when using the VC++ generator: nuclear@0: ${Boost_SRCS} nuclear@0: nuclear@0: ${PUBLIC_HEADERS} nuclear@0: ${COMPILER_HEADERS} nuclear@0: ) nuclear@0: nuclear@0: ADD_MSVC_PRECOMPILED_HEADER("AssimpPCH.h" "AssimpPCH.cpp" assimp_src) nuclear@0: nuclear@0: IF ( ASSIMP_BUILD_STATIC_LIB ) nuclear@0: ADD_LIBRARY( assimp STATIC nuclear@0: ${assimp_src} nuclear@0: ) nuclear@0: ELSE ( ASSIMP_BUILD_STATIC_LIB ) nuclear@0: ADD_LIBRARY( assimp SHARED nuclear@0: ${assimp_src} nuclear@0: ) nuclear@0: ENDIF ( ASSIMP_BUILD_STATIC_LIB ) nuclear@0: nuclear@0: SET_PROPERTY(TARGET assimp PROPERTY DEBUG_POSTFIX ${ASSIMP_DEBUG_POSTFIX}) nuclear@0: nuclear@0: TARGET_LINK_LIBRARIES(assimp ${ZLIB_LIBRARIES}) nuclear@0: SET_TARGET_PROPERTIES( assimp PROPERTIES nuclear@0: VERSION ${ASSIMP_VERSION} nuclear@0: SOVERSION ${ASSIMP_SOVERSION} # use full version nuclear@0: OUTPUT_NAME assimp${ASSIMP_LIBRARY_SUFFIX} nuclear@0: ) nuclear@0: # Build against external unzip, or add ../contrib/unzip so nuclear@0: # assimp can #include "unzip.h" nuclear@0: if (UNZIP_FOUND) nuclear@0: INCLUDE_DIRECTORIES(${UNZIP_INCLUDE_DIRS}) nuclear@0: TARGET_LINK_LIBRARIES(assimp ${UNZIP_LIBRARIES}) nuclear@0: else (UNZIP_FOUND) nuclear@0: INCLUDE_DIRECTORIES("../contrib/unzip") nuclear@0: endif (UNZIP_FOUND) nuclear@0: nuclear@0: INSTALL( TARGETS assimp DESTINATION ${ASSIMP_LIB_INSTALL_DIR} COMPONENT ${LIBASSIMP_COMPONENT}) nuclear@0: INSTALL( FILES ${PUBLIC_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp COMPONENT assimp-dev) nuclear@0: INSTALL( FILES ${COMPILER_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp/Compiler COMPONENT assimp-dev) nuclear@0: nuclear@0: if(MSVC AND ASSIMP_INSTALL_PDB) nuclear@0: install(FILES ${Assimp_BINARY_DIR}/code/Debug/assimp${ASSIMP_DEBUG_POSTFIX}.pdb nuclear@0: DESTINATION ${ASSIMP_LIB_INSTALL_DIR} nuclear@0: CONFIGURATIONS Debug nuclear@0: ) nuclear@0: install(FILES ${Assimp_BINARY_DIR}/code/RelWithDebInfo/assimp.pdb nuclear@0: DESTINATION ${ASSIMP_LIB_INSTALL_DIR} nuclear@0: CONFIGURATIONS RelWithDebInfo nuclear@0: ) nuclear@0: endif ()