vrshoot
diff libs/assimp/CMakeLists.txt @ 0:b2f14e535253
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 01 Feb 2014 19:58:19 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libs/assimp/CMakeLists.txt Sat Feb 01 19:58:19 2014 +0200 1.3 @@ -0,0 +1,720 @@ 1.4 +# Listing and grouping of all the source files. 1.5 +# 1) Set the file lists for each component 1.6 +# 2) Create a Source Group for each component, for IDE project orginization 1.7 +# 3) Add libassimp using the file lists (eliminates duplication of file names between 1.8 +# source groups and library command) 1.9 +# 1.10 +SET( HEADER_PATH ../include/assimp ) 1.11 + 1.12 +SET( COMPILER_HEADERS 1.13 + ${HEADER_PATH}/Compiler/pushpack1.h 1.14 + ${HEADER_PATH}/Compiler/poppack1.h 1.15 + pstdint.h 1.16 +) 1.17 +SOURCE_GROUP( Compiler FILES ${COMPILER_HEADERS}) 1.18 + 1.19 +SET( PUBLIC_HEADERS 1.20 + ${HEADER_PATH}/anim.h 1.21 + ${HEADER_PATH}/ai_assert.h 1.22 + ${HEADER_PATH}/camera.h 1.23 + ${HEADER_PATH}/color4.h 1.24 + ${HEADER_PATH}/color4.inl 1.25 + ${HEADER_PATH}/config.h 1.26 + ${HEADER_PATH}/defs.h 1.27 + ${HEADER_PATH}/cfileio.h 1.28 + ${HEADER_PATH}/light.h 1.29 + ${HEADER_PATH}/material.h 1.30 + ${HEADER_PATH}/material.inl 1.31 + ${HEADER_PATH}/matrix3x3.h 1.32 + ${HEADER_PATH}/matrix3x3.inl 1.33 + ${HEADER_PATH}/matrix4x4.h 1.34 + ${HEADER_PATH}/matrix4x4.inl 1.35 + ${HEADER_PATH}/mesh.h 1.36 + ${HEADER_PATH}/postprocess.h 1.37 + ${HEADER_PATH}/quaternion.h 1.38 + ${HEADER_PATH}/quaternion.inl 1.39 + ${HEADER_PATH}/scene.h 1.40 + ${HEADER_PATH}/metadata.h 1.41 + ${HEADER_PATH}/texture.h 1.42 + ${HEADER_PATH}/types.h 1.43 + ${HEADER_PATH}/vector2.h 1.44 + ${HEADER_PATH}/vector2.inl 1.45 + ${HEADER_PATH}/vector3.h 1.46 + ${HEADER_PATH}/vector3.inl 1.47 + ${HEADER_PATH}/version.h 1.48 + ${HEADER_PATH}/cimport.h 1.49 + ${HEADER_PATH}/importerdesc.h 1.50 + ${HEADER_PATH}/Importer.hpp 1.51 + ${HEADER_PATH}/DefaultLogger.hpp 1.52 + ${HEADER_PATH}/ProgressHandler.hpp 1.53 + ${HEADER_PATH}/IOStream.hpp 1.54 + ${HEADER_PATH}/IOSystem.hpp 1.55 + ${HEADER_PATH}/Logger.hpp 1.56 + ${HEADER_PATH}/LogStream.hpp 1.57 + ${HEADER_PATH}/NullLogger.hpp 1.58 + ${HEADER_PATH}/cexport.h 1.59 + ${HEADER_PATH}/Exporter.hpp 1.60 +) 1.61 + 1.62 +SET( Core_SRCS 1.63 + Assimp.cpp 1.64 +) 1.65 + 1.66 +SET( Boost_SRCS 1.67 + BoostWorkaround/boost/math/common_factor_rt.hpp 1.68 + BoostWorkaround/boost/foreach.hpp 1.69 + BoostWorkaround/boost/format.hpp 1.70 + BoostWorkaround/boost/scoped_array.hpp 1.71 + BoostWorkaround/boost/scoped_ptr.hpp 1.72 + BoostWorkaround/boost/shared_array.hpp 1.73 + BoostWorkaround/boost/shared_ptr.hpp 1.74 + BoostWorkaround/boost/make_shared.hpp 1.75 + BoostWorkaround/boost/static_assert.hpp 1.76 + BoostWorkaround/boost/tuple/tuple.hpp 1.77 +) 1.78 +SOURCE_GROUP(Boost FILES ${Boost_SRCS}) 1.79 + 1.80 +SET( Logging_SRCS 1.81 + ${HEADER_PATH}/DefaultLogger.hpp 1.82 + ${HEADER_PATH}/IOStream.hpp 1.83 + ${HEADER_PATH}/LogStream.hpp 1.84 + ${HEADER_PATH}/Logger.hpp 1.85 + ${HEADER_PATH}/NullLogger.hpp 1.86 + Win32DebugLogStream.h 1.87 + DefaultLogger.cpp 1.88 + FileLogStream.h 1.89 +) 1.90 +SOURCE_GROUP(Logging FILES ${Logging_SRCS}) 1.91 + 1.92 +SET( Common_SRCS 1.93 + fast_atof.h 1.94 + qnan.h 1.95 + BaseImporter.cpp 1.96 + BaseImporter.h 1.97 + BaseProcess.cpp 1.98 + BaseProcess.h 1.99 + Importer.h 1.100 + ScenePrivate.h 1.101 + PostStepRegistry.cpp 1.102 + ImporterRegistry.cpp 1.103 + ByteSwap.h 1.104 + DefaultProgressHandler.h 1.105 + DefaultIOStream.cpp 1.106 + DefaultIOStream.h 1.107 + DefaultIOSystem.cpp 1.108 + DefaultIOSystem.h 1.109 + CInterfaceIOWrapper.h 1.110 + Hash.h 1.111 + Importer.cpp 1.112 + IFF.h 1.113 + ParsingUtils.h 1.114 + StdOStreamLogStream.h 1.115 + StreamReader.h 1.116 + StringComparison.h 1.117 + SGSpatialSort.cpp 1.118 + SGSpatialSort.h 1.119 + VertexTriangleAdjacency.cpp 1.120 + VertexTriangleAdjacency.h 1.121 + GenericProperty.h 1.122 + SpatialSort.cpp 1.123 + SpatialSort.h 1.124 + SceneCombiner.cpp 1.125 + SceneCombiner.h 1.126 + ScenePreprocessor.cpp 1.127 + ScenePreprocessor.h 1.128 + SkeletonMeshBuilder.cpp 1.129 + SkeletonMeshBuilder.h 1.130 + SplitByBoneCountProcess.cpp 1.131 + SplitByBoneCountProcess.h 1.132 + SmoothingGroups.h 1.133 + StandardShapes.cpp 1.134 + StandardShapes.h 1.135 + TargetAnimation.cpp 1.136 + TargetAnimation.h 1.137 + RemoveComments.cpp 1.138 + RemoveComments.h 1.139 + Subdivision.cpp 1.140 + Subdivision.h 1.141 + Vertex.h 1.142 + LineSplitter.h 1.143 + TinyFormatter.h 1.144 + Profiler.h 1.145 + LogAux.h 1.146 +) 1.147 +SOURCE_GROUP(Common FILES ${Common_SRCS}) 1.148 + 1.149 +SET( 3DS_SRCS 1.150 + 3DSConverter.cpp 1.151 + 3DSHelper.h 1.152 + 3DSLoader.cpp 1.153 + 3DSLoader.h 1.154 +) 1.155 +SOURCE_GROUP(3DS FILES ${3DS_SRCS}) 1.156 + 1.157 +SET( AC_SRCS 1.158 + ACLoader.cpp 1.159 + ACLoader.h 1.160 +) 1.161 +SOURCE_GROUP( AC FILES ${AC_SRCS}) 1.162 + 1.163 +SET( ASE_SRCS 1.164 + ASELoader.cpp 1.165 + ASELoader.h 1.166 + ASEParser.cpp 1.167 + ASEParser.h 1.168 +) 1.169 +SOURCE_GROUP( ASE FILES ${ASE_SRCS}) 1.170 + 1.171 +SET( B3D_SRCS 1.172 + B3DImporter.cpp 1.173 + B3DImporter.h 1.174 +) 1.175 +SOURCE_GROUP( B3D FILES ${B3D_SRCS}) 1.176 + 1.177 +SET( BVH_SRCS 1.178 + BVHLoader.cpp 1.179 + BVHLoader.h 1.180 +) 1.181 +SOURCE_GROUP( BVH FILES ${BVH_SRCS}) 1.182 + 1.183 +SET( Collada_SRCS 1.184 + ColladaHelper.h 1.185 + ColladaLoader.cpp 1.186 + ColladaLoader.h 1.187 + ColladaParser.cpp 1.188 + ColladaParser.h 1.189 + ColladaExporter.h 1.190 + ColladaExporter.cpp 1.191 +) 1.192 +SOURCE_GROUP( Collada FILES ${Collada_SRCS}) 1.193 + 1.194 +SET( DXF_SRCS 1.195 + DXFLoader.cpp 1.196 + DXFLoader.h 1.197 + DXFHelper.h 1.198 +) 1.199 +SOURCE_GROUP( DXF FILES ${DXF_SRCS}) 1.200 + 1.201 +SET( CSM_SRCS 1.202 + CSMLoader.cpp 1.203 + CSMLoader.h 1.204 +) 1.205 +SOURCE_GROUP( CSM FILES ${CSM_SRCS}) 1.206 + 1.207 +SET( HMP_SRCS 1.208 + HMPFileData.h 1.209 + HMPLoader.cpp 1.210 + HMPLoader.h 1.211 + HalfLifeFileData.h 1.212 +) 1.213 +SOURCE_GROUP( HMP FILES ${HMP_SRCS}) 1.214 + 1.215 +SET( Irr_SRCS 1.216 + IRRLoader.cpp 1.217 + IRRLoader.h 1.218 + IRRMeshLoader.cpp 1.219 + IRRMeshLoader.h 1.220 + IRRShared.cpp 1.221 + IRRShared.h 1.222 +) 1.223 +SOURCE_GROUP( Irr FILES ${Irr_SRCS}) 1.224 + 1.225 +SET( LWO_SRCS 1.226 + LWOAnimation.cpp 1.227 + LWOAnimation.h 1.228 + LWOBLoader.cpp 1.229 + LWOFileData.h 1.230 + LWOLoader.cpp 1.231 + LWOLoader.h 1.232 + LWOMaterial.cpp 1.233 +) 1.234 +SOURCE_GROUP( LWO FILES ${LWO_SRCS}) 1.235 + 1.236 +SET( LWS_SRCS 1.237 + LWSLoader.cpp 1.238 + LWSLoader.h 1.239 +) 1.240 +SOURCE_GROUP( LWS FILES ${LWS_SRCS}) 1.241 + 1.242 + 1.243 + 1.244 +SET( MD2_SRCS 1.245 + MD2FileData.h 1.246 + MD2Loader.cpp 1.247 + MD2Loader.h 1.248 + MD2NormalTable.h 1.249 +) 1.250 +SOURCE_GROUP( MD2 FILES ${MD2_SRCS}) 1.251 + 1.252 +SET( MD3_SRCS 1.253 + MD3FileData.h 1.254 + MD3Loader.cpp 1.255 + MD3Loader.h 1.256 +) 1.257 +SOURCE_GROUP( MD3 FILES ${MD3_SRCS}) 1.258 + 1.259 +SET( MD5_SRCS 1.260 + MD5Loader.cpp 1.261 + MD5Loader.h 1.262 + MD5Parser.cpp 1.263 + MD5Parser.h 1.264 +) 1.265 +SOURCE_GROUP( MD5 FILES ${MD5_SRCS}) 1.266 + 1.267 +SET( MDC_SRCS 1.268 + MDCFileData.h 1.269 + MDCLoader.cpp 1.270 + MDCLoader.h 1.271 + MDCNormalTable.h 1.272 +) 1.273 +SOURCE_GROUP( MDC FILES ${MDC_SRCS}) 1.274 + 1.275 +SET( MDL_SRCS 1.276 + MDLDefaultColorMap.h 1.277 + MDLFileData.h 1.278 + MDLLoader.cpp 1.279 + MDLLoader.h 1.280 + MDLMaterialLoader.cpp 1.281 +) 1.282 +SOURCE_GROUP( MDL FILES ${MDL_SRCS}) 1.283 + 1.284 +SET( MaterialSystem_SRCS 1.285 + MaterialSystem.cpp 1.286 + MaterialSystem.h 1.287 +) 1.288 +SOURCE_GROUP( MaterialSystem FILES ${MaterialSystem_SRCS}) 1.289 + 1.290 +SET( NFF_SRCS 1.291 + NFFLoader.cpp 1.292 + NFFLoader.h 1.293 +) 1.294 +SOURCE_GROUP( NFF FILES ${NFF_SRCS}) 1.295 + 1.296 +SET( NDO_SRCS 1.297 + NDOLoader.cpp 1.298 + NDOLoader.h 1.299 +) 1.300 +SOURCE_GROUP( NDO FILES ${NDO_SRCS}) 1.301 + 1.302 +SET( OFFFormat_SRCS 1.303 + OFFLoader.cpp 1.304 + OFFLoader.h 1.305 +) 1.306 +SOURCE_GROUP( OFFFormat FILES ${OFFFormat_SRCS}) 1.307 + 1.308 +SET( Obj_SRCS 1.309 + ObjFileData.h 1.310 + ObjFileImporter.cpp 1.311 + ObjFileImporter.h 1.312 + ObjFileMtlImporter.cpp 1.313 + ObjFileMtlImporter.h 1.314 + ObjFileParser.cpp 1.315 + ObjFileParser.h 1.316 + ObjTools.h 1.317 + 1.318 + ObjExporter.h 1.319 + ObjExporter.cpp 1.320 +) 1.321 +SOURCE_GROUP( Obj FILES ${Obj_SRCS}) 1.322 + 1.323 +SET( Ogre_SRCS 1.324 + OgreImporter.hpp 1.325 + OgreXmlHelper.hpp 1.326 + OgreImporter.cpp 1.327 + OgreMaterial.cpp 1.328 + OgreMesh.cpp 1.329 + OgreSkeleton.cpp 1.330 +) 1.331 +SOURCE_GROUP( Ogre FILES ${Ogre_SRCS}) 1.332 + 1.333 +SET( Ply_SRCS 1.334 + PlyLoader.cpp 1.335 + PlyLoader.h 1.336 + PlyParser.cpp 1.337 + PlyParser.h 1.338 + PlyExporter.cpp 1.339 + PlyExporter.h 1.340 +) 1.341 +SOURCE_GROUP( Ply FILES ${Ply_SRCS}) 1.342 + 1.343 +SET(MS3D_SRCS 1.344 + MS3DLoader.cpp 1.345 + MS3DLoader.h 1.346 +) 1.347 +SOURCE_GROUP( MS3D FILES ${MS3D_SRCS}) 1.348 + 1.349 +SET(COB_SRCS 1.350 + COBLoader.cpp 1.351 + COBLoader.h 1.352 + COBScene.h 1.353 +) 1.354 +SOURCE_GROUP( COB FILES ${COB_SRCS}) 1.355 + 1.356 +SET(BLENDER_SRCS 1.357 + BlenderLoader.cpp 1.358 + BlenderLoader.h 1.359 + BlenderDNA.cpp 1.360 + BlenderDNA.h 1.361 + BlenderDNA.inl 1.362 + BlenderScene.cpp 1.363 + BlenderScene.h 1.364 + BlenderSceneGen.h 1.365 + BlenderIntermediate.h 1.366 + BlenderModifier.h 1.367 + BlenderModifier.cpp 1.368 +) 1.369 +SOURCE_GROUP( BLENDER FILES ${BLENDER_SRCS}) 1.370 + 1.371 +SET(IFC_SRCS 1.372 + IFCLoader.cpp 1.373 + IFCLoader.h 1.374 + IFCReaderGen.cpp 1.375 + IFCReaderGen.h 1.376 + IFCUtil.h 1.377 + IFCUtil.cpp 1.378 + IFCGeometry.cpp 1.379 + IFCMaterial.cpp 1.380 + IFCProfile.cpp 1.381 + IFCCurve.cpp 1.382 + IFCBoolean.cpp 1.383 + IFCOpenings.cpp 1.384 + STEPFile.h 1.385 + STEPFileReader.h 1.386 + STEPFileReader.cpp 1.387 + STEPFileEncoding.cpp 1.388 + STEPFileEncoding.h 1.389 +) 1.390 +SOURCE_GROUP( IFC FILES ${IFC_SRCS}) 1.391 + 1.392 +SET( XGL_SRCS 1.393 + XGLLoader.cpp 1.394 + XGLLoader.h 1.395 +) 1.396 +SOURCE_GROUP( XGL FILES ${XGL_SRCS}) 1.397 + 1.398 + 1.399 +SET(FBX_SRCS 1.400 + FBXImporter.cpp 1.401 + FBXCompileConfig.h 1.402 + FBXImporter.h 1.403 + FBXParser.cpp 1.404 + FBXParser.h 1.405 + FBXTokenizer.cpp 1.406 + FBXTokenizer.h 1.407 + FBXImportSettings.h 1.408 + FBXConverter.h 1.409 + FBXConverter.cpp 1.410 + FBXUtil.h 1.411 + FBXUtil.cpp 1.412 + FBXDocument.h 1.413 + FBXDocument.cpp 1.414 + FBXProperties.h 1.415 + FBXProperties.cpp 1.416 + FBXMeshGeometry.cpp 1.417 + FBXMaterial.cpp 1.418 + FBXModel.cpp 1.419 + FBXAnimation.cpp 1.420 + FBXNodeAttribute.cpp 1.421 + FBXDeformer.cpp 1.422 + FBXBinaryTokenizer.cpp 1.423 + FBXDocumentUtil.cpp 1.424 +) 1.425 +SOURCE_GROUP( FBX FILES ${FBX_SRCS}) 1.426 + 1.427 + 1.428 +SET( PostProcessing_SRCS 1.429 + CalcTangentsProcess.cpp 1.430 + CalcTangentsProcess.h 1.431 + ComputeUVMappingProcess.cpp 1.432 + ComputeUVMappingProcess.h 1.433 + ConvertToLHProcess.cpp 1.434 + ConvertToLHProcess.h 1.435 + FindDegenerates.cpp 1.436 + FindDegenerates.h 1.437 + FindInstancesProcess.cpp 1.438 + FindInstancesProcess.h 1.439 + FindInvalidDataProcess.cpp 1.440 + FindInvalidDataProcess.h 1.441 + FixNormalsStep.cpp 1.442 + FixNormalsStep.h 1.443 + GenFaceNormalsProcess.cpp 1.444 + GenFaceNormalsProcess.h 1.445 + GenVertexNormalsProcess.cpp 1.446 + GenVertexNormalsProcess.h 1.447 + PretransformVertices.cpp 1.448 + PretransformVertices.h 1.449 + ImproveCacheLocality.cpp 1.450 + ImproveCacheLocality.h 1.451 + JoinVerticesProcess.cpp 1.452 + JoinVerticesProcess.h 1.453 + LimitBoneWeightsProcess.cpp 1.454 + LimitBoneWeightsProcess.h 1.455 + RemoveRedundantMaterials.cpp 1.456 + RemoveRedundantMaterials.h 1.457 + RemoveVCProcess.cpp 1.458 + RemoveVCProcess.h 1.459 + SortByPTypeProcess.cpp 1.460 + SortByPTypeProcess.h 1.461 + SplitLargeMeshes.cpp 1.462 + SplitLargeMeshes.h 1.463 + TerragenLoader.cpp 1.464 + TerragenLoader.h 1.465 + TextureTransform.cpp 1.466 + TextureTransform.h 1.467 + TriangulateProcess.cpp 1.468 + TriangulateProcess.h 1.469 + ValidateDataStructure.cpp 1.470 + ValidateDataStructure.h 1.471 + OptimizeGraph.cpp 1.472 + OptimizeGraph.h 1.473 + OptimizeMeshes.cpp 1.474 + OptimizeMeshes.h 1.475 + DeboneProcess.cpp 1.476 + DeboneProcess.h 1.477 + ProcessHelper.h 1.478 + ProcessHelper.cpp 1.479 + PolyTools.h 1.480 + MakeVerboseFormat.cpp 1.481 + MakeVerboseFormat.h 1.482 +) 1.483 +SOURCE_GROUP( PostProcessing FILES ${PostProcessing_SRCS}) 1.484 + 1.485 +SET( Q3D_SRCS 1.486 + Q3DLoader.cpp 1.487 + Q3DLoader.h 1.488 +) 1.489 +SOURCE_GROUP( Q3D FILES ${Q3D_SRCS}) 1.490 + 1.491 +SET( Q3BSP_SRCS 1.492 + Q3BSPFileData.h 1.493 + Q3BSPFileParser.h 1.494 + Q3BSPFileParser.cpp 1.495 + Q3BSPFileImporter.h 1.496 + Q3BSPFileImporter.cpp 1.497 + Q3BSPZipArchive.h 1.498 + Q3BSPZipArchive.cpp 1.499 +) 1.500 +SOURCE_GROUP( Q3BSP FILES ${Q3BSP_SRCS}) 1.501 + 1.502 +SET( Raw_SRCS 1.503 + RawLoader.cpp 1.504 + RawLoader.h 1.505 +) 1.506 +SOURCE_GROUP( Raw FILES ${Raw_SRCS}) 1.507 + 1.508 +SET( SMD_SRCS 1.509 + SMDLoader.cpp 1.510 + SMDLoader.h 1.511 +) 1.512 +SOURCE_GROUP( SMD FILES ${SMD_SRCS}) 1.513 + 1.514 +SET( STL_SRCS 1.515 + STLLoader.cpp 1.516 + STLLoader.h 1.517 + STLExporter.h 1.518 + STLExporter.cpp 1.519 +) 1.520 +SOURCE_GROUP( STL FILES ${STL_SRCS}) 1.521 + 1.522 +SET( Unreal_SRCS 1.523 + UnrealLoader.cpp 1.524 + UnrealLoader.h 1.525 +) 1.526 +SOURCE_GROUP( Unreal FILES ${Unreal_SRCS}) 1.527 + 1.528 +SET( XFile_SRCS 1.529 + XFileHelper.h 1.530 + XFileImporter.cpp 1.531 + XFileImporter.h 1.532 + XFileParser.cpp 1.533 + XFileParser.h 1.534 +) 1.535 +SOURCE_GROUP( XFile FILES ${XFile_SRCS}) 1.536 + 1.537 +SET( Exporter_SRCS 1.538 + Exporter.cpp 1.539 + AssimpCExport.cpp 1.540 + BlobIOSystem.h 1.541 +) 1.542 +SOURCE_GROUP( Exporter FILES ${Exporter_SRCS}) 1.543 + 1.544 +SET( Extra_SRCS 1.545 + MD4FileData.h 1.546 +) 1.547 +SOURCE_GROUP( Extra FILES ${Extra_SRCS}) 1.548 + 1.549 +SET( IrrXML_SRCS 1.550 + irrXMLWrapper.h 1.551 + ../contrib/irrXML/CXMLReaderImpl.h 1.552 + ../contrib/irrXML/heapsort.h 1.553 + ../contrib/irrXML/irrArray.h 1.554 + ../contrib/irrXML/irrString.h 1.555 + ../contrib/irrXML/irrTypes.h 1.556 + ../contrib/irrXML/irrXML.cpp 1.557 + ../contrib/irrXML/irrXML.h 1.558 +) 1.559 +SOURCE_GROUP( IrrXML FILES ${IrrXML_SRCS}) 1.560 + 1.561 +SET( ConvertUTF_SRCS 1.562 + ../contrib/ConvertUTF/ConvertUTF.h 1.563 + ../contrib/ConvertUTF/ConvertUTF.c 1.564 +) 1.565 +SOURCE_GROUP( ConvertUTF FILES ${ConvertUTF_SRCS}) 1.566 + 1.567 +SET( Clipper_SRCS 1.568 + ../contrib/clipper/clipper.hpp 1.569 + ../contrib/clipper/clipper.cpp 1.570 +) 1.571 +SOURCE_GROUP( Clipper FILES ${Clipper_SRCS}) 1.572 + 1.573 + 1.574 +SET( Poly2Tri_SRCS 1.575 + ../contrib/poly2tri/poly2tri/common/shapes.cc 1.576 + ../contrib/poly2tri/poly2tri/common/shapes.h 1.577 + ../contrib/poly2tri/poly2tri/common/utils.h 1.578 + ../contrib/poly2tri/poly2tri/sweep/advancing_front.h 1.579 + ../contrib/poly2tri/poly2tri/sweep/advancing_front.cc 1.580 + ../contrib/poly2tri/poly2tri/sweep/cdt.cc 1.581 + ../contrib/poly2tri/poly2tri/sweep/cdt.h 1.582 + ../contrib/poly2tri/poly2tri/sweep/sweep.cc 1.583 + ../contrib/poly2tri/poly2tri/sweep/sweep.h 1.584 + ../contrib/poly2tri/poly2tri/sweep/sweep_context.cc 1.585 + ../contrib/poly2tri/poly2tri/sweep/sweep_context.h 1.586 +) 1.587 +SOURCE_GROUP( Poly2Tri FILES ${Poly2Tri_SRCS}) 1.588 + 1.589 +SET( unzip_SRCS 1.590 + ../contrib/unzip/crypt.h 1.591 + ../contrib/unzip/ioapi.c 1.592 + ../contrib/unzip/ioapi.h 1.593 + ../contrib/unzip/unzip.c 1.594 + ../contrib/unzip/unzip.h 1.595 +) 1.596 +SOURCE_GROUP( unzip FILES ${unzip_SRCS}) 1.597 + 1.598 + 1.599 +# VC2010 fixes 1.600 +if(MSVC10) 1.601 + OPTION( VC10_STDINT_FIX "Fix for VC10 Compiler regarding pstdint.h redefinition errors" OFF ) 1.602 + if( VC10_STDINT_FIX ) 1.603 + ADD_DEFINITIONS( -D_STDINT ) 1.604 + endif( VC10_STDINT_FIX ) 1.605 +endif(MSVC10) 1.606 + 1.607 +ADD_DEFINITIONS( -DASSIMP_BUILD_DLL_EXPORT ) 1.608 + 1.609 +if ( MSVC ) 1.610 + ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS ) 1.611 + ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS ) 1.612 +endif ( MSVC ) 1.613 + 1.614 +if (UNZIP_FOUND) 1.615 + SET (unzip_compile_SRCS "") 1.616 +else (UNZIP_FOUND) 1.617 + SET (unzip_compile_SRCS ${unzip_SRCS}) 1.618 +endif (UNZIP_FOUND) 1.619 + 1.620 +SET( assimp_src 1.621 + # Assimp Files 1.622 + ${Core_SRCS} 1.623 + ${Common_SRCS} 1.624 + ${Logging_SRCS} 1.625 + ${Exporter_SRCS} 1.626 + ${PostProcessing_SRCS} 1.627 + 1.628 + # Model Support 1.629 + ${3DS_SRCS} 1.630 + ${AC_SRCS} 1.631 + ${ASE_SRCS} 1.632 + ${B3D_SRCS} 1.633 + ${BVH_SRCS} 1.634 + ${Collada_SRCS} 1.635 + ${DXF_SRCS} 1.636 + ${CSM_SRCS} 1.637 + ${HMP_SRCS} 1.638 + ${Irr_SRCS} 1.639 + ${LWO_SRCS} 1.640 + ${LWS_SRCS} 1.641 + ${MD2_SRCS} 1.642 + ${MD3_SRCS} 1.643 + ${MD5_SRCS} 1.644 + ${MDC_SRCS} 1.645 + ${MDL_SRCS} 1.646 + ${MaterialSystem_SRCS} 1.647 + ${NFF_SRCS} 1.648 + ${OFFFormat_SRCS} 1.649 + ${Obj_SRCS} 1.650 + ${Ogre_SRCS} 1.651 + ${Ply_SRCS} 1.652 + ${Q3D_SRCS} 1.653 + ${Q3BSP_SRCS} 1.654 + ${Raw_SRCS} 1.655 + ${SMD_SRCS} 1.656 + ${STL_SRCS} 1.657 + ${Unreal_SRCS} 1.658 + ${XFile_SRCS} 1.659 + ${Extra_SRCS} 1.660 + ${MS3D_SRCS} 1.661 + ${COB_SRCS} 1.662 + ${BLENDER_SRCS} 1.663 + ${NDO_SRCS} 1.664 + ${IFC_SRCS} 1.665 + ${XGL_SRCS} 1.666 + ${FBX_SRCS} 1.667 + 1.668 + # Third-party libraries 1.669 + ${IrrXML_SRCS} 1.670 + ${ConvertUTF_SRCS} 1.671 + ${unzip_compile_SRCS} 1.672 + ${Poly2Tri_SRCS} 1.673 + ${Clipper_SRCS} 1.674 + # Necessary to show the headers in the project when using the VC++ generator: 1.675 + ${Boost_SRCS} 1.676 + 1.677 + ${PUBLIC_HEADERS} 1.678 + ${COMPILER_HEADERS} 1.679 +) 1.680 + 1.681 +ADD_MSVC_PRECOMPILED_HEADER("AssimpPCH.h" "AssimpPCH.cpp" assimp_src) 1.682 + 1.683 +IF ( ASSIMP_BUILD_STATIC_LIB ) 1.684 + ADD_LIBRARY( assimp STATIC 1.685 + ${assimp_src} 1.686 + ) 1.687 +ELSE ( ASSIMP_BUILD_STATIC_LIB ) 1.688 + ADD_LIBRARY( assimp SHARED 1.689 + ${assimp_src} 1.690 + ) 1.691 +ENDIF ( ASSIMP_BUILD_STATIC_LIB ) 1.692 + 1.693 +SET_PROPERTY(TARGET assimp PROPERTY DEBUG_POSTFIX ${ASSIMP_DEBUG_POSTFIX}) 1.694 + 1.695 +TARGET_LINK_LIBRARIES(assimp ${ZLIB_LIBRARIES}) 1.696 +SET_TARGET_PROPERTIES( assimp PROPERTIES 1.697 + VERSION ${ASSIMP_VERSION} 1.698 + SOVERSION ${ASSIMP_SOVERSION} # use full version 1.699 + OUTPUT_NAME assimp${ASSIMP_LIBRARY_SUFFIX} 1.700 +) 1.701 +# Build against external unzip, or add ../contrib/unzip so 1.702 +# assimp can #include "unzip.h" 1.703 +if (UNZIP_FOUND) 1.704 + INCLUDE_DIRECTORIES(${UNZIP_INCLUDE_DIRS}) 1.705 + TARGET_LINK_LIBRARIES(assimp ${UNZIP_LIBRARIES}) 1.706 +else (UNZIP_FOUND) 1.707 + INCLUDE_DIRECTORIES("../contrib/unzip") 1.708 +endif (UNZIP_FOUND) 1.709 + 1.710 +INSTALL( TARGETS assimp DESTINATION ${ASSIMP_LIB_INSTALL_DIR} COMPONENT ${LIBASSIMP_COMPONENT}) 1.711 +INSTALL( FILES ${PUBLIC_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp COMPONENT assimp-dev) 1.712 +INSTALL( FILES ${COMPILER_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp/Compiler COMPONENT assimp-dev) 1.713 + 1.714 +if(MSVC AND ASSIMP_INSTALL_PDB) 1.715 + install(FILES ${Assimp_BINARY_DIR}/code/Debug/assimp${ASSIMP_DEBUG_POSTFIX}.pdb 1.716 + DESTINATION ${ASSIMP_LIB_INSTALL_DIR} 1.717 + CONFIGURATIONS Debug 1.718 + ) 1.719 + install(FILES ${Assimp_BINARY_DIR}/code/RelWithDebInfo/assimp.pdb 1.720 + DESTINATION ${ASSIMP_LIB_INSTALL_DIR} 1.721 + CONFIGURATIONS RelWithDebInfo 1.722 + ) 1.723 +endif () 1.724 \ No newline at end of file