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