vrshoot

annotate libs/assimp/CMakeLists.txt @ 1:e7ca128b8713

looks nice :)
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Feb 2014 00:35:22 +0200
parents
children
rev   line source
nuclear@0 1 # Listing and grouping of all the source files.
nuclear@0 2 # 1) Set the file lists for each component
nuclear@0 3 # 2) Create a Source Group for each component, for IDE project orginization
nuclear@0 4 # 3) Add libassimp using the file lists (eliminates duplication of file names between
nuclear@0 5 # source groups and library command)
nuclear@0 6 #
nuclear@0 7 SET( HEADER_PATH ../include/assimp )
nuclear@0 8
nuclear@0 9 SET( COMPILER_HEADERS
nuclear@0 10 ${HEADER_PATH}/Compiler/pushpack1.h
nuclear@0 11 ${HEADER_PATH}/Compiler/poppack1.h
nuclear@0 12 pstdint.h
nuclear@0 13 )
nuclear@0 14 SOURCE_GROUP( Compiler FILES ${COMPILER_HEADERS})
nuclear@0 15
nuclear@0 16 SET( PUBLIC_HEADERS
nuclear@0 17 ${HEADER_PATH}/anim.h
nuclear@0 18 ${HEADER_PATH}/ai_assert.h
nuclear@0 19 ${HEADER_PATH}/camera.h
nuclear@0 20 ${HEADER_PATH}/color4.h
nuclear@0 21 ${HEADER_PATH}/color4.inl
nuclear@0 22 ${HEADER_PATH}/config.h
nuclear@0 23 ${HEADER_PATH}/defs.h
nuclear@0 24 ${HEADER_PATH}/cfileio.h
nuclear@0 25 ${HEADER_PATH}/light.h
nuclear@0 26 ${HEADER_PATH}/material.h
nuclear@0 27 ${HEADER_PATH}/material.inl
nuclear@0 28 ${HEADER_PATH}/matrix3x3.h
nuclear@0 29 ${HEADER_PATH}/matrix3x3.inl
nuclear@0 30 ${HEADER_PATH}/matrix4x4.h
nuclear@0 31 ${HEADER_PATH}/matrix4x4.inl
nuclear@0 32 ${HEADER_PATH}/mesh.h
nuclear@0 33 ${HEADER_PATH}/postprocess.h
nuclear@0 34 ${HEADER_PATH}/quaternion.h
nuclear@0 35 ${HEADER_PATH}/quaternion.inl
nuclear@0 36 ${HEADER_PATH}/scene.h
nuclear@0 37 ${HEADER_PATH}/metadata.h
nuclear@0 38 ${HEADER_PATH}/texture.h
nuclear@0 39 ${HEADER_PATH}/types.h
nuclear@0 40 ${HEADER_PATH}/vector2.h
nuclear@0 41 ${HEADER_PATH}/vector2.inl
nuclear@0 42 ${HEADER_PATH}/vector3.h
nuclear@0 43 ${HEADER_PATH}/vector3.inl
nuclear@0 44 ${HEADER_PATH}/version.h
nuclear@0 45 ${HEADER_PATH}/cimport.h
nuclear@0 46 ${HEADER_PATH}/importerdesc.h
nuclear@0 47 ${HEADER_PATH}/Importer.hpp
nuclear@0 48 ${HEADER_PATH}/DefaultLogger.hpp
nuclear@0 49 ${HEADER_PATH}/ProgressHandler.hpp
nuclear@0 50 ${HEADER_PATH}/IOStream.hpp
nuclear@0 51 ${HEADER_PATH}/IOSystem.hpp
nuclear@0 52 ${HEADER_PATH}/Logger.hpp
nuclear@0 53 ${HEADER_PATH}/LogStream.hpp
nuclear@0 54 ${HEADER_PATH}/NullLogger.hpp
nuclear@0 55 ${HEADER_PATH}/cexport.h
nuclear@0 56 ${HEADER_PATH}/Exporter.hpp
nuclear@0 57 )
nuclear@0 58
nuclear@0 59 SET( Core_SRCS
nuclear@0 60 Assimp.cpp
nuclear@0 61 )
nuclear@0 62
nuclear@0 63 SET( Boost_SRCS
nuclear@0 64 BoostWorkaround/boost/math/common_factor_rt.hpp
nuclear@0 65 BoostWorkaround/boost/foreach.hpp
nuclear@0 66 BoostWorkaround/boost/format.hpp
nuclear@0 67 BoostWorkaround/boost/scoped_array.hpp
nuclear@0 68 BoostWorkaround/boost/scoped_ptr.hpp
nuclear@0 69 BoostWorkaround/boost/shared_array.hpp
nuclear@0 70 BoostWorkaround/boost/shared_ptr.hpp
nuclear@0 71 BoostWorkaround/boost/make_shared.hpp
nuclear@0 72 BoostWorkaround/boost/static_assert.hpp
nuclear@0 73 BoostWorkaround/boost/tuple/tuple.hpp
nuclear@0 74 )
nuclear@0 75 SOURCE_GROUP(Boost FILES ${Boost_SRCS})
nuclear@0 76
nuclear@0 77 SET( Logging_SRCS
nuclear@0 78 ${HEADER_PATH}/DefaultLogger.hpp
nuclear@0 79 ${HEADER_PATH}/IOStream.hpp
nuclear@0 80 ${HEADER_PATH}/LogStream.hpp
nuclear@0 81 ${HEADER_PATH}/Logger.hpp
nuclear@0 82 ${HEADER_PATH}/NullLogger.hpp
nuclear@0 83 Win32DebugLogStream.h
nuclear@0 84 DefaultLogger.cpp
nuclear@0 85 FileLogStream.h
nuclear@0 86 )
nuclear@0 87 SOURCE_GROUP(Logging FILES ${Logging_SRCS})
nuclear@0 88
nuclear@0 89 SET( Common_SRCS
nuclear@0 90 fast_atof.h
nuclear@0 91 qnan.h
nuclear@0 92 BaseImporter.cpp
nuclear@0 93 BaseImporter.h
nuclear@0 94 BaseProcess.cpp
nuclear@0 95 BaseProcess.h
nuclear@0 96 Importer.h
nuclear@0 97 ScenePrivate.h
nuclear@0 98 PostStepRegistry.cpp
nuclear@0 99 ImporterRegistry.cpp
nuclear@0 100 ByteSwap.h
nuclear@0 101 DefaultProgressHandler.h
nuclear@0 102 DefaultIOStream.cpp
nuclear@0 103 DefaultIOStream.h
nuclear@0 104 DefaultIOSystem.cpp
nuclear@0 105 DefaultIOSystem.h
nuclear@0 106 CInterfaceIOWrapper.h
nuclear@0 107 Hash.h
nuclear@0 108 Importer.cpp
nuclear@0 109 IFF.h
nuclear@0 110 ParsingUtils.h
nuclear@0 111 StdOStreamLogStream.h
nuclear@0 112 StreamReader.h
nuclear@0 113 StringComparison.h
nuclear@0 114 SGSpatialSort.cpp
nuclear@0 115 SGSpatialSort.h
nuclear@0 116 VertexTriangleAdjacency.cpp
nuclear@0 117 VertexTriangleAdjacency.h
nuclear@0 118 GenericProperty.h
nuclear@0 119 SpatialSort.cpp
nuclear@0 120 SpatialSort.h
nuclear@0 121 SceneCombiner.cpp
nuclear@0 122 SceneCombiner.h
nuclear@0 123 ScenePreprocessor.cpp
nuclear@0 124 ScenePreprocessor.h
nuclear@0 125 SkeletonMeshBuilder.cpp
nuclear@0 126 SkeletonMeshBuilder.h
nuclear@0 127 SplitByBoneCountProcess.cpp
nuclear@0 128 SplitByBoneCountProcess.h
nuclear@0 129 SmoothingGroups.h
nuclear@0 130 StandardShapes.cpp
nuclear@0 131 StandardShapes.h
nuclear@0 132 TargetAnimation.cpp
nuclear@0 133 TargetAnimation.h
nuclear@0 134 RemoveComments.cpp
nuclear@0 135 RemoveComments.h
nuclear@0 136 Subdivision.cpp
nuclear@0 137 Subdivision.h
nuclear@0 138 Vertex.h
nuclear@0 139 LineSplitter.h
nuclear@0 140 TinyFormatter.h
nuclear@0 141 Profiler.h
nuclear@0 142 LogAux.h
nuclear@0 143 )
nuclear@0 144 SOURCE_GROUP(Common FILES ${Common_SRCS})
nuclear@0 145
nuclear@0 146 SET( 3DS_SRCS
nuclear@0 147 3DSConverter.cpp
nuclear@0 148 3DSHelper.h
nuclear@0 149 3DSLoader.cpp
nuclear@0 150 3DSLoader.h
nuclear@0 151 )
nuclear@0 152 SOURCE_GROUP(3DS FILES ${3DS_SRCS})
nuclear@0 153
nuclear@0 154 SET( AC_SRCS
nuclear@0 155 ACLoader.cpp
nuclear@0 156 ACLoader.h
nuclear@0 157 )
nuclear@0 158 SOURCE_GROUP( AC FILES ${AC_SRCS})
nuclear@0 159
nuclear@0 160 SET( ASE_SRCS
nuclear@0 161 ASELoader.cpp
nuclear@0 162 ASELoader.h
nuclear@0 163 ASEParser.cpp
nuclear@0 164 ASEParser.h
nuclear@0 165 )
nuclear@0 166 SOURCE_GROUP( ASE FILES ${ASE_SRCS})
nuclear@0 167
nuclear@0 168 SET( B3D_SRCS
nuclear@0 169 B3DImporter.cpp
nuclear@0 170 B3DImporter.h
nuclear@0 171 )
nuclear@0 172 SOURCE_GROUP( B3D FILES ${B3D_SRCS})
nuclear@0 173
nuclear@0 174 SET( BVH_SRCS
nuclear@0 175 BVHLoader.cpp
nuclear@0 176 BVHLoader.h
nuclear@0 177 )
nuclear@0 178 SOURCE_GROUP( BVH FILES ${BVH_SRCS})
nuclear@0 179
nuclear@0 180 SET( Collada_SRCS
nuclear@0 181 ColladaHelper.h
nuclear@0 182 ColladaLoader.cpp
nuclear@0 183 ColladaLoader.h
nuclear@0 184 ColladaParser.cpp
nuclear@0 185 ColladaParser.h
nuclear@0 186 ColladaExporter.h
nuclear@0 187 ColladaExporter.cpp
nuclear@0 188 )
nuclear@0 189 SOURCE_GROUP( Collada FILES ${Collada_SRCS})
nuclear@0 190
nuclear@0 191 SET( DXF_SRCS
nuclear@0 192 DXFLoader.cpp
nuclear@0 193 DXFLoader.h
nuclear@0 194 DXFHelper.h
nuclear@0 195 )
nuclear@0 196 SOURCE_GROUP( DXF FILES ${DXF_SRCS})
nuclear@0 197
nuclear@0 198 SET( CSM_SRCS
nuclear@0 199 CSMLoader.cpp
nuclear@0 200 CSMLoader.h
nuclear@0 201 )
nuclear@0 202 SOURCE_GROUP( CSM FILES ${CSM_SRCS})
nuclear@0 203
nuclear@0 204 SET( HMP_SRCS
nuclear@0 205 HMPFileData.h
nuclear@0 206 HMPLoader.cpp
nuclear@0 207 HMPLoader.h
nuclear@0 208 HalfLifeFileData.h
nuclear@0 209 )
nuclear@0 210 SOURCE_GROUP( HMP FILES ${HMP_SRCS})
nuclear@0 211
nuclear@0 212 SET( Irr_SRCS
nuclear@0 213 IRRLoader.cpp
nuclear@0 214 IRRLoader.h
nuclear@0 215 IRRMeshLoader.cpp
nuclear@0 216 IRRMeshLoader.h
nuclear@0 217 IRRShared.cpp
nuclear@0 218 IRRShared.h
nuclear@0 219 )
nuclear@0 220 SOURCE_GROUP( Irr FILES ${Irr_SRCS})
nuclear@0 221
nuclear@0 222 SET( LWO_SRCS
nuclear@0 223 LWOAnimation.cpp
nuclear@0 224 LWOAnimation.h
nuclear@0 225 LWOBLoader.cpp
nuclear@0 226 LWOFileData.h
nuclear@0 227 LWOLoader.cpp
nuclear@0 228 LWOLoader.h
nuclear@0 229 LWOMaterial.cpp
nuclear@0 230 )
nuclear@0 231 SOURCE_GROUP( LWO FILES ${LWO_SRCS})
nuclear@0 232
nuclear@0 233 SET( LWS_SRCS
nuclear@0 234 LWSLoader.cpp
nuclear@0 235 LWSLoader.h
nuclear@0 236 )
nuclear@0 237 SOURCE_GROUP( LWS FILES ${LWS_SRCS})
nuclear@0 238
nuclear@0 239
nuclear@0 240
nuclear@0 241 SET( MD2_SRCS
nuclear@0 242 MD2FileData.h
nuclear@0 243 MD2Loader.cpp
nuclear@0 244 MD2Loader.h
nuclear@0 245 MD2NormalTable.h
nuclear@0 246 )
nuclear@0 247 SOURCE_GROUP( MD2 FILES ${MD2_SRCS})
nuclear@0 248
nuclear@0 249 SET( MD3_SRCS
nuclear@0 250 MD3FileData.h
nuclear@0 251 MD3Loader.cpp
nuclear@0 252 MD3Loader.h
nuclear@0 253 )
nuclear@0 254 SOURCE_GROUP( MD3 FILES ${MD3_SRCS})
nuclear@0 255
nuclear@0 256 SET( MD5_SRCS
nuclear@0 257 MD5Loader.cpp
nuclear@0 258 MD5Loader.h
nuclear@0 259 MD5Parser.cpp
nuclear@0 260 MD5Parser.h
nuclear@0 261 )
nuclear@0 262 SOURCE_GROUP( MD5 FILES ${MD5_SRCS})
nuclear@0 263
nuclear@0 264 SET( MDC_SRCS
nuclear@0 265 MDCFileData.h
nuclear@0 266 MDCLoader.cpp
nuclear@0 267 MDCLoader.h
nuclear@0 268 MDCNormalTable.h
nuclear@0 269 )
nuclear@0 270 SOURCE_GROUP( MDC FILES ${MDC_SRCS})
nuclear@0 271
nuclear@0 272 SET( MDL_SRCS
nuclear@0 273 MDLDefaultColorMap.h
nuclear@0 274 MDLFileData.h
nuclear@0 275 MDLLoader.cpp
nuclear@0 276 MDLLoader.h
nuclear@0 277 MDLMaterialLoader.cpp
nuclear@0 278 )
nuclear@0 279 SOURCE_GROUP( MDL FILES ${MDL_SRCS})
nuclear@0 280
nuclear@0 281 SET( MaterialSystem_SRCS
nuclear@0 282 MaterialSystem.cpp
nuclear@0 283 MaterialSystem.h
nuclear@0 284 )
nuclear@0 285 SOURCE_GROUP( MaterialSystem FILES ${MaterialSystem_SRCS})
nuclear@0 286
nuclear@0 287 SET( NFF_SRCS
nuclear@0 288 NFFLoader.cpp
nuclear@0 289 NFFLoader.h
nuclear@0 290 )
nuclear@0 291 SOURCE_GROUP( NFF FILES ${NFF_SRCS})
nuclear@0 292
nuclear@0 293 SET( NDO_SRCS
nuclear@0 294 NDOLoader.cpp
nuclear@0 295 NDOLoader.h
nuclear@0 296 )
nuclear@0 297 SOURCE_GROUP( NDO FILES ${NDO_SRCS})
nuclear@0 298
nuclear@0 299 SET( OFFFormat_SRCS
nuclear@0 300 OFFLoader.cpp
nuclear@0 301 OFFLoader.h
nuclear@0 302 )
nuclear@0 303 SOURCE_GROUP( OFFFormat FILES ${OFFFormat_SRCS})
nuclear@0 304
nuclear@0 305 SET( Obj_SRCS
nuclear@0 306 ObjFileData.h
nuclear@0 307 ObjFileImporter.cpp
nuclear@0 308 ObjFileImporter.h
nuclear@0 309 ObjFileMtlImporter.cpp
nuclear@0 310 ObjFileMtlImporter.h
nuclear@0 311 ObjFileParser.cpp
nuclear@0 312 ObjFileParser.h
nuclear@0 313 ObjTools.h
nuclear@0 314
nuclear@0 315 ObjExporter.h
nuclear@0 316 ObjExporter.cpp
nuclear@0 317 )
nuclear@0 318 SOURCE_GROUP( Obj FILES ${Obj_SRCS})
nuclear@0 319
nuclear@0 320 SET( Ogre_SRCS
nuclear@0 321 OgreImporter.hpp
nuclear@0 322 OgreXmlHelper.hpp
nuclear@0 323 OgreImporter.cpp
nuclear@0 324 OgreMaterial.cpp
nuclear@0 325 OgreMesh.cpp
nuclear@0 326 OgreSkeleton.cpp
nuclear@0 327 )
nuclear@0 328 SOURCE_GROUP( Ogre FILES ${Ogre_SRCS})
nuclear@0 329
nuclear@0 330 SET( Ply_SRCS
nuclear@0 331 PlyLoader.cpp
nuclear@0 332 PlyLoader.h
nuclear@0 333 PlyParser.cpp
nuclear@0 334 PlyParser.h
nuclear@0 335 PlyExporter.cpp
nuclear@0 336 PlyExporter.h
nuclear@0 337 )
nuclear@0 338 SOURCE_GROUP( Ply FILES ${Ply_SRCS})
nuclear@0 339
nuclear@0 340 SET(MS3D_SRCS
nuclear@0 341 MS3DLoader.cpp
nuclear@0 342 MS3DLoader.h
nuclear@0 343 )
nuclear@0 344 SOURCE_GROUP( MS3D FILES ${MS3D_SRCS})
nuclear@0 345
nuclear@0 346 SET(COB_SRCS
nuclear@0 347 COBLoader.cpp
nuclear@0 348 COBLoader.h
nuclear@0 349 COBScene.h
nuclear@0 350 )
nuclear@0 351 SOURCE_GROUP( COB FILES ${COB_SRCS})
nuclear@0 352
nuclear@0 353 SET(BLENDER_SRCS
nuclear@0 354 BlenderLoader.cpp
nuclear@0 355 BlenderLoader.h
nuclear@0 356 BlenderDNA.cpp
nuclear@0 357 BlenderDNA.h
nuclear@0 358 BlenderDNA.inl
nuclear@0 359 BlenderScene.cpp
nuclear@0 360 BlenderScene.h
nuclear@0 361 BlenderSceneGen.h
nuclear@0 362 BlenderIntermediate.h
nuclear@0 363 BlenderModifier.h
nuclear@0 364 BlenderModifier.cpp
nuclear@0 365 )
nuclear@0 366 SOURCE_GROUP( BLENDER FILES ${BLENDER_SRCS})
nuclear@0 367
nuclear@0 368 SET(IFC_SRCS
nuclear@0 369 IFCLoader.cpp
nuclear@0 370 IFCLoader.h
nuclear@0 371 IFCReaderGen.cpp
nuclear@0 372 IFCReaderGen.h
nuclear@0 373 IFCUtil.h
nuclear@0 374 IFCUtil.cpp
nuclear@0 375 IFCGeometry.cpp
nuclear@0 376 IFCMaterial.cpp
nuclear@0 377 IFCProfile.cpp
nuclear@0 378 IFCCurve.cpp
nuclear@0 379 IFCBoolean.cpp
nuclear@0 380 IFCOpenings.cpp
nuclear@0 381 STEPFile.h
nuclear@0 382 STEPFileReader.h
nuclear@0 383 STEPFileReader.cpp
nuclear@0 384 STEPFileEncoding.cpp
nuclear@0 385 STEPFileEncoding.h
nuclear@0 386 )
nuclear@0 387 SOURCE_GROUP( IFC FILES ${IFC_SRCS})
nuclear@0 388
nuclear@0 389 SET( XGL_SRCS
nuclear@0 390 XGLLoader.cpp
nuclear@0 391 XGLLoader.h
nuclear@0 392 )
nuclear@0 393 SOURCE_GROUP( XGL FILES ${XGL_SRCS})
nuclear@0 394
nuclear@0 395
nuclear@0 396 SET(FBX_SRCS
nuclear@0 397 FBXImporter.cpp
nuclear@0 398 FBXCompileConfig.h
nuclear@0 399 FBXImporter.h
nuclear@0 400 FBXParser.cpp
nuclear@0 401 FBXParser.h
nuclear@0 402 FBXTokenizer.cpp
nuclear@0 403 FBXTokenizer.h
nuclear@0 404 FBXImportSettings.h
nuclear@0 405 FBXConverter.h
nuclear@0 406 FBXConverter.cpp
nuclear@0 407 FBXUtil.h
nuclear@0 408 FBXUtil.cpp
nuclear@0 409 FBXDocument.h
nuclear@0 410 FBXDocument.cpp
nuclear@0 411 FBXProperties.h
nuclear@0 412 FBXProperties.cpp
nuclear@0 413 FBXMeshGeometry.cpp
nuclear@0 414 FBXMaterial.cpp
nuclear@0 415 FBXModel.cpp
nuclear@0 416 FBXAnimation.cpp
nuclear@0 417 FBXNodeAttribute.cpp
nuclear@0 418 FBXDeformer.cpp
nuclear@0 419 FBXBinaryTokenizer.cpp
nuclear@0 420 FBXDocumentUtil.cpp
nuclear@0 421 )
nuclear@0 422 SOURCE_GROUP( FBX FILES ${FBX_SRCS})
nuclear@0 423
nuclear@0 424
nuclear@0 425 SET( PostProcessing_SRCS
nuclear@0 426 CalcTangentsProcess.cpp
nuclear@0 427 CalcTangentsProcess.h
nuclear@0 428 ComputeUVMappingProcess.cpp
nuclear@0 429 ComputeUVMappingProcess.h
nuclear@0 430 ConvertToLHProcess.cpp
nuclear@0 431 ConvertToLHProcess.h
nuclear@0 432 FindDegenerates.cpp
nuclear@0 433 FindDegenerates.h
nuclear@0 434 FindInstancesProcess.cpp
nuclear@0 435 FindInstancesProcess.h
nuclear@0 436 FindInvalidDataProcess.cpp
nuclear@0 437 FindInvalidDataProcess.h
nuclear@0 438 FixNormalsStep.cpp
nuclear@0 439 FixNormalsStep.h
nuclear@0 440 GenFaceNormalsProcess.cpp
nuclear@0 441 GenFaceNormalsProcess.h
nuclear@0 442 GenVertexNormalsProcess.cpp
nuclear@0 443 GenVertexNormalsProcess.h
nuclear@0 444 PretransformVertices.cpp
nuclear@0 445 PretransformVertices.h
nuclear@0 446 ImproveCacheLocality.cpp
nuclear@0 447 ImproveCacheLocality.h
nuclear@0 448 JoinVerticesProcess.cpp
nuclear@0 449 JoinVerticesProcess.h
nuclear@0 450 LimitBoneWeightsProcess.cpp
nuclear@0 451 LimitBoneWeightsProcess.h
nuclear@0 452 RemoveRedundantMaterials.cpp
nuclear@0 453 RemoveRedundantMaterials.h
nuclear@0 454 RemoveVCProcess.cpp
nuclear@0 455 RemoveVCProcess.h
nuclear@0 456 SortByPTypeProcess.cpp
nuclear@0 457 SortByPTypeProcess.h
nuclear@0 458 SplitLargeMeshes.cpp
nuclear@0 459 SplitLargeMeshes.h
nuclear@0 460 TerragenLoader.cpp
nuclear@0 461 TerragenLoader.h
nuclear@0 462 TextureTransform.cpp
nuclear@0 463 TextureTransform.h
nuclear@0 464 TriangulateProcess.cpp
nuclear@0 465 TriangulateProcess.h
nuclear@0 466 ValidateDataStructure.cpp
nuclear@0 467 ValidateDataStructure.h
nuclear@0 468 OptimizeGraph.cpp
nuclear@0 469 OptimizeGraph.h
nuclear@0 470 OptimizeMeshes.cpp
nuclear@0 471 OptimizeMeshes.h
nuclear@0 472 DeboneProcess.cpp
nuclear@0 473 DeboneProcess.h
nuclear@0 474 ProcessHelper.h
nuclear@0 475 ProcessHelper.cpp
nuclear@0 476 PolyTools.h
nuclear@0 477 MakeVerboseFormat.cpp
nuclear@0 478 MakeVerboseFormat.h
nuclear@0 479 )
nuclear@0 480 SOURCE_GROUP( PostProcessing FILES ${PostProcessing_SRCS})
nuclear@0 481
nuclear@0 482 SET( Q3D_SRCS
nuclear@0 483 Q3DLoader.cpp
nuclear@0 484 Q3DLoader.h
nuclear@0 485 )
nuclear@0 486 SOURCE_GROUP( Q3D FILES ${Q3D_SRCS})
nuclear@0 487
nuclear@0 488 SET( Q3BSP_SRCS
nuclear@0 489 Q3BSPFileData.h
nuclear@0 490 Q3BSPFileParser.h
nuclear@0 491 Q3BSPFileParser.cpp
nuclear@0 492 Q3BSPFileImporter.h
nuclear@0 493 Q3BSPFileImporter.cpp
nuclear@0 494 Q3BSPZipArchive.h
nuclear@0 495 Q3BSPZipArchive.cpp
nuclear@0 496 )
nuclear@0 497 SOURCE_GROUP( Q3BSP FILES ${Q3BSP_SRCS})
nuclear@0 498
nuclear@0 499 SET( Raw_SRCS
nuclear@0 500 RawLoader.cpp
nuclear@0 501 RawLoader.h
nuclear@0 502 )
nuclear@0 503 SOURCE_GROUP( Raw FILES ${Raw_SRCS})
nuclear@0 504
nuclear@0 505 SET( SMD_SRCS
nuclear@0 506 SMDLoader.cpp
nuclear@0 507 SMDLoader.h
nuclear@0 508 )
nuclear@0 509 SOURCE_GROUP( SMD FILES ${SMD_SRCS})
nuclear@0 510
nuclear@0 511 SET( STL_SRCS
nuclear@0 512 STLLoader.cpp
nuclear@0 513 STLLoader.h
nuclear@0 514 STLExporter.h
nuclear@0 515 STLExporter.cpp
nuclear@0 516 )
nuclear@0 517 SOURCE_GROUP( STL FILES ${STL_SRCS})
nuclear@0 518
nuclear@0 519 SET( Unreal_SRCS
nuclear@0 520 UnrealLoader.cpp
nuclear@0 521 UnrealLoader.h
nuclear@0 522 )
nuclear@0 523 SOURCE_GROUP( Unreal FILES ${Unreal_SRCS})
nuclear@0 524
nuclear@0 525 SET( XFile_SRCS
nuclear@0 526 XFileHelper.h
nuclear@0 527 XFileImporter.cpp
nuclear@0 528 XFileImporter.h
nuclear@0 529 XFileParser.cpp
nuclear@0 530 XFileParser.h
nuclear@0 531 )
nuclear@0 532 SOURCE_GROUP( XFile FILES ${XFile_SRCS})
nuclear@0 533
nuclear@0 534 SET( Exporter_SRCS
nuclear@0 535 Exporter.cpp
nuclear@0 536 AssimpCExport.cpp
nuclear@0 537 BlobIOSystem.h
nuclear@0 538 )
nuclear@0 539 SOURCE_GROUP( Exporter FILES ${Exporter_SRCS})
nuclear@0 540
nuclear@0 541 SET( Extra_SRCS
nuclear@0 542 MD4FileData.h
nuclear@0 543 )
nuclear@0 544 SOURCE_GROUP( Extra FILES ${Extra_SRCS})
nuclear@0 545
nuclear@0 546 SET( IrrXML_SRCS
nuclear@0 547 irrXMLWrapper.h
nuclear@0 548 ../contrib/irrXML/CXMLReaderImpl.h
nuclear@0 549 ../contrib/irrXML/heapsort.h
nuclear@0 550 ../contrib/irrXML/irrArray.h
nuclear@0 551 ../contrib/irrXML/irrString.h
nuclear@0 552 ../contrib/irrXML/irrTypes.h
nuclear@0 553 ../contrib/irrXML/irrXML.cpp
nuclear@0 554 ../contrib/irrXML/irrXML.h
nuclear@0 555 )
nuclear@0 556 SOURCE_GROUP( IrrXML FILES ${IrrXML_SRCS})
nuclear@0 557
nuclear@0 558 SET( ConvertUTF_SRCS
nuclear@0 559 ../contrib/ConvertUTF/ConvertUTF.h
nuclear@0 560 ../contrib/ConvertUTF/ConvertUTF.c
nuclear@0 561 )
nuclear@0 562 SOURCE_GROUP( ConvertUTF FILES ${ConvertUTF_SRCS})
nuclear@0 563
nuclear@0 564 SET( Clipper_SRCS
nuclear@0 565 ../contrib/clipper/clipper.hpp
nuclear@0 566 ../contrib/clipper/clipper.cpp
nuclear@0 567 )
nuclear@0 568 SOURCE_GROUP( Clipper FILES ${Clipper_SRCS})
nuclear@0 569
nuclear@0 570
nuclear@0 571 SET( Poly2Tri_SRCS
nuclear@0 572 ../contrib/poly2tri/poly2tri/common/shapes.cc
nuclear@0 573 ../contrib/poly2tri/poly2tri/common/shapes.h
nuclear@0 574 ../contrib/poly2tri/poly2tri/common/utils.h
nuclear@0 575 ../contrib/poly2tri/poly2tri/sweep/advancing_front.h
nuclear@0 576 ../contrib/poly2tri/poly2tri/sweep/advancing_front.cc
nuclear@0 577 ../contrib/poly2tri/poly2tri/sweep/cdt.cc
nuclear@0 578 ../contrib/poly2tri/poly2tri/sweep/cdt.h
nuclear@0 579 ../contrib/poly2tri/poly2tri/sweep/sweep.cc
nuclear@0 580 ../contrib/poly2tri/poly2tri/sweep/sweep.h
nuclear@0 581 ../contrib/poly2tri/poly2tri/sweep/sweep_context.cc
nuclear@0 582 ../contrib/poly2tri/poly2tri/sweep/sweep_context.h
nuclear@0 583 )
nuclear@0 584 SOURCE_GROUP( Poly2Tri FILES ${Poly2Tri_SRCS})
nuclear@0 585
nuclear@0 586 SET( unzip_SRCS
nuclear@0 587 ../contrib/unzip/crypt.h
nuclear@0 588 ../contrib/unzip/ioapi.c
nuclear@0 589 ../contrib/unzip/ioapi.h
nuclear@0 590 ../contrib/unzip/unzip.c
nuclear@0 591 ../contrib/unzip/unzip.h
nuclear@0 592 )
nuclear@0 593 SOURCE_GROUP( unzip FILES ${unzip_SRCS})
nuclear@0 594
nuclear@0 595
nuclear@0 596 # VC2010 fixes
nuclear@0 597 if(MSVC10)
nuclear@0 598 OPTION( VC10_STDINT_FIX "Fix for VC10 Compiler regarding pstdint.h redefinition errors" OFF )
nuclear@0 599 if( VC10_STDINT_FIX )
nuclear@0 600 ADD_DEFINITIONS( -D_STDINT )
nuclear@0 601 endif( VC10_STDINT_FIX )
nuclear@0 602 endif(MSVC10)
nuclear@0 603
nuclear@0 604 ADD_DEFINITIONS( -DASSIMP_BUILD_DLL_EXPORT )
nuclear@0 605
nuclear@0 606 if ( MSVC )
nuclear@0 607 ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
nuclear@0 608 ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
nuclear@0 609 endif ( MSVC )
nuclear@0 610
nuclear@0 611 if (UNZIP_FOUND)
nuclear@0 612 SET (unzip_compile_SRCS "")
nuclear@0 613 else (UNZIP_FOUND)
nuclear@0 614 SET (unzip_compile_SRCS ${unzip_SRCS})
nuclear@0 615 endif (UNZIP_FOUND)
nuclear@0 616
nuclear@0 617 SET( assimp_src
nuclear@0 618 # Assimp Files
nuclear@0 619 ${Core_SRCS}
nuclear@0 620 ${Common_SRCS}
nuclear@0 621 ${Logging_SRCS}
nuclear@0 622 ${Exporter_SRCS}
nuclear@0 623 ${PostProcessing_SRCS}
nuclear@0 624
nuclear@0 625 # Model Support
nuclear@0 626 ${3DS_SRCS}
nuclear@0 627 ${AC_SRCS}
nuclear@0 628 ${ASE_SRCS}
nuclear@0 629 ${B3D_SRCS}
nuclear@0 630 ${BVH_SRCS}
nuclear@0 631 ${Collada_SRCS}
nuclear@0 632 ${DXF_SRCS}
nuclear@0 633 ${CSM_SRCS}
nuclear@0 634 ${HMP_SRCS}
nuclear@0 635 ${Irr_SRCS}
nuclear@0 636 ${LWO_SRCS}
nuclear@0 637 ${LWS_SRCS}
nuclear@0 638 ${MD2_SRCS}
nuclear@0 639 ${MD3_SRCS}
nuclear@0 640 ${MD5_SRCS}
nuclear@0 641 ${MDC_SRCS}
nuclear@0 642 ${MDL_SRCS}
nuclear@0 643 ${MaterialSystem_SRCS}
nuclear@0 644 ${NFF_SRCS}
nuclear@0 645 ${OFFFormat_SRCS}
nuclear@0 646 ${Obj_SRCS}
nuclear@0 647 ${Ogre_SRCS}
nuclear@0 648 ${Ply_SRCS}
nuclear@0 649 ${Q3D_SRCS}
nuclear@0 650 ${Q3BSP_SRCS}
nuclear@0 651 ${Raw_SRCS}
nuclear@0 652 ${SMD_SRCS}
nuclear@0 653 ${STL_SRCS}
nuclear@0 654 ${Unreal_SRCS}
nuclear@0 655 ${XFile_SRCS}
nuclear@0 656 ${Extra_SRCS}
nuclear@0 657 ${MS3D_SRCS}
nuclear@0 658 ${COB_SRCS}
nuclear@0 659 ${BLENDER_SRCS}
nuclear@0 660 ${NDO_SRCS}
nuclear@0 661 ${IFC_SRCS}
nuclear@0 662 ${XGL_SRCS}
nuclear@0 663 ${FBX_SRCS}
nuclear@0 664
nuclear@0 665 # Third-party libraries
nuclear@0 666 ${IrrXML_SRCS}
nuclear@0 667 ${ConvertUTF_SRCS}
nuclear@0 668 ${unzip_compile_SRCS}
nuclear@0 669 ${Poly2Tri_SRCS}
nuclear@0 670 ${Clipper_SRCS}
nuclear@0 671 # Necessary to show the headers in the project when using the VC++ generator:
nuclear@0 672 ${Boost_SRCS}
nuclear@0 673
nuclear@0 674 ${PUBLIC_HEADERS}
nuclear@0 675 ${COMPILER_HEADERS}
nuclear@0 676 )
nuclear@0 677
nuclear@0 678 ADD_MSVC_PRECOMPILED_HEADER("AssimpPCH.h" "AssimpPCH.cpp" assimp_src)
nuclear@0 679
nuclear@0 680 IF ( ASSIMP_BUILD_STATIC_LIB )
nuclear@0 681 ADD_LIBRARY( assimp STATIC
nuclear@0 682 ${assimp_src}
nuclear@0 683 )
nuclear@0 684 ELSE ( ASSIMP_BUILD_STATIC_LIB )
nuclear@0 685 ADD_LIBRARY( assimp SHARED
nuclear@0 686 ${assimp_src}
nuclear@0 687 )
nuclear@0 688 ENDIF ( ASSIMP_BUILD_STATIC_LIB )
nuclear@0 689
nuclear@0 690 SET_PROPERTY(TARGET assimp PROPERTY DEBUG_POSTFIX ${ASSIMP_DEBUG_POSTFIX})
nuclear@0 691
nuclear@0 692 TARGET_LINK_LIBRARIES(assimp ${ZLIB_LIBRARIES})
nuclear@0 693 SET_TARGET_PROPERTIES( assimp PROPERTIES
nuclear@0 694 VERSION ${ASSIMP_VERSION}
nuclear@0 695 SOVERSION ${ASSIMP_SOVERSION} # use full version
nuclear@0 696 OUTPUT_NAME assimp${ASSIMP_LIBRARY_SUFFIX}
nuclear@0 697 )
nuclear@0 698 # Build against external unzip, or add ../contrib/unzip so
nuclear@0 699 # assimp can #include "unzip.h"
nuclear@0 700 if (UNZIP_FOUND)
nuclear@0 701 INCLUDE_DIRECTORIES(${UNZIP_INCLUDE_DIRS})
nuclear@0 702 TARGET_LINK_LIBRARIES(assimp ${UNZIP_LIBRARIES})
nuclear@0 703 else (UNZIP_FOUND)
nuclear@0 704 INCLUDE_DIRECTORIES("../contrib/unzip")
nuclear@0 705 endif (UNZIP_FOUND)
nuclear@0 706
nuclear@0 707 INSTALL( TARGETS assimp DESTINATION ${ASSIMP_LIB_INSTALL_DIR} COMPONENT ${LIBASSIMP_COMPONENT})
nuclear@0 708 INSTALL( FILES ${PUBLIC_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp COMPONENT assimp-dev)
nuclear@0 709 INSTALL( FILES ${COMPILER_HEADERS} DESTINATION ${ASSIMP_INCLUDE_INSTALL_DIR}/assimp/Compiler COMPONENT assimp-dev)
nuclear@0 710
nuclear@0 711 if(MSVC AND ASSIMP_INSTALL_PDB)
nuclear@0 712 install(FILES ${Assimp_BINARY_DIR}/code/Debug/assimp${ASSIMP_DEBUG_POSTFIX}.pdb
nuclear@0 713 DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
nuclear@0 714 CONFIGURATIONS Debug
nuclear@0 715 )
nuclear@0 716 install(FILES ${Assimp_BINARY_DIR}/code/RelWithDebInfo/assimp.pdb
nuclear@0 717 DESTINATION ${ASSIMP_LIB_INSTALL_DIR}
nuclear@0 718 CONFIGURATIONS RelWithDebInfo
nuclear@0 719 )
nuclear@0 720 endif ()