# Open Asset Import Library (assimp)
# ----------------------------------------------------------------------
#
# Copyright (c) 2006-2021, assimp team
#
# All rights reserved.
#
# Redistribution and use of this software in source and binary forms,
# with or without modification, are permitted provided that the
# following conditions are met:
#
# * Redistributions of source code must retain the above
# copyright notice, this list of conditions and the
# following disclaimer.
#
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the
# following disclaimer in the documentation and/or other
# materials provided with the distribution.
#
# * Neither the name of the assimp team, nor the names of its
# contributors may be used to endorse or promote products
# derived from this software without specific prior
# written permission of the assimp team.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#----------------------------------------------------------------------
# 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)
#
cmake_minimum_required( VERSION 3.10 )
SET( HEADER_PATH ../include/assimp )
if(NOT ANDROID AND ASSIMP_ANDROID_JNIIOSYSTEM)
message(WARNING "Requesting Android JNI I/O-System in non-Android toolchain. Resetting ASSIMP_ANDROID_JNIIOSYSTEM to OFF.")
set(ASSIMP_ANDROID_JNIIOSYSTEM OFF)
endif()
SET( COMPILER_HEADERS
${HEADER_PATH}/Compiler/pushpack1.h
${HEADER_PATH}/Compiler/poppack1.h
${HEADER_PATH}/Compiler/pstdint.h
)
SOURCE_GROUP( Compiler FILES ${COMPILER_HEADERS})
SET( PUBLIC_HEADERS
${HEADER_PATH}/anim.h
${HEADER_PATH}/aabb.h
${HEADER_PATH}/ai_assert.h
${HEADER_PATH}/camera.h
${HEADER_PATH}/color4.h
${HEADER_PATH}/color4.inl
${CMAKE_CURRENT_BINARY_DIR}/../include/assimp/config.h
${HEADER_PATH}/ColladaMetaData.h
${HEADER_PATH}/commonMetaData.h
${HEADER_PATH}/defs.h
${HEADER_PATH}/Defines.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}/pbrmaterial.h
${HEADER_PATH}/postprocess.h
${HEADER_PATH}/quaternion.h
${HEADER_PATH}/quaternion.inl
${HEADER_PATH}/scene.h
${HEADER_PATH}/metadata.h
${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
${HEADER_PATH}/importerdesc.h
${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
${HEADER_PATH}/DefaultIOStream.h
${HEADER_PATH}/DefaultIOSystem.h
${HEADER_PATH}/ZipArchiveIOSystem.h
${HEADER_PATH}/SceneCombiner.h
${HEADER_PATH}/fast_atof.h
${HEADER_PATH}/qnan.h
${HEADER_PATH}/BaseImporter.h
${HEADER_PATH}/Hash.h
${HEADER_PATH}/MemoryIOWrapper.h
${HEADER_PATH}/ParsingUtils.h
${HEADER_PATH}/StreamReader.h
${HEADER_PATH}/StreamWriter.h
${HEADER_PATH}/StringComparison.h
${HEADER_PATH}/StringUtils.h
${HEADER_PATH}/SGSpatialSort.h
${HEADER_PATH}/GenericProperty.h
${HEADER_PATH}/SpatialSort.h
${HEADER_PATH}/SkeletonMeshBuilder.h
${HEADER_PATH}/SmallVector.h
${HEADER_PATH}/SmoothingGroups.h
${HEADER_PATH}/SmoothingGroups.inl
${HEADER_PATH}/StandardShapes.h
${HEADER_PATH}/RemoveComments.h
${HEADER_PATH}/Subdivision.h
${HEADER_PATH}/Vertex.h
${HEADER_PATH}/LineSplitter.h
${HEADER_PATH}/TinyFormatter.h
${HEADER_PATH}/Profiler.h
${HEADER_PATH}/LogAux.h
${HEADER_PATH}/Bitmap.h
${HEADER_PATH}/XMLTools.h
${HEADER_PATH}/IOStreamBuffer.h
${HEADER_PATH}/CreateAnimMesh.h
${HEADER_PATH}/XmlParser.h
${HEADER_PATH}/BlobIOSystem.h
${HEADER_PATH}/MathFunctions.h
${HEADER_PATH}/Exceptional.h
${HEADER_PATH}/ByteSwapper.h
)
SET( Core_SRCS
Common/Assimp.cpp
)
IF(MSVC)
list(APPEND Core_SRCS "res/assimp.rc")
ENDIF()
SET( Logging_SRCS
${HEADER_PATH}/DefaultLogger.hpp
${HEADER_PATH}/LogStream.hpp
${HEADER_PATH}/Logger.hpp
${HEADER_PATH}/NullLogger.hpp
Common/Win32DebugLogStream.h
Common/DefaultLogger.cpp
Common/FileLogStream.h
Common/StdOStreamLogStream.h
)
SOURCE_GROUP(Logging FILES ${Logging_SRCS})
SET( Common_SRCS
Common/BaseImporter.cpp
Common/BaseProcess.cpp
Common/BaseProcess.h
Common/Importer.h
Common/ScenePrivate.h
Common/PostStepRegistry.cpp
Common/ImporterRegistry.cpp
Common/DefaultProgressHandler.h
Common/DefaultIOStream.cpp
Common/DefaultIOSystem.cpp
Common/ZipArchiveIOSystem.cpp
Common/PolyTools.h
Common/Importer.cpp
Common/IFF.h
Common/SGSpatialSort.cpp
Common/VertexTriangleAdjacency.cpp
Common/VertexTriangleAdjacency.h
Common/SpatialSort.cpp
Common/SceneCombiner.cpp
Common/ScenePreprocessor.cpp
Common/ScenePreprocessor.h
Common/SkeletonMeshBuilder.cpp
Common/StandardShapes.cpp
Common/TargetAnimation.cpp
Common/TargetAnimation.h
Common/RemoveComments.cpp
Common/Subdivision.cpp
Common/scene.cpp
Common/Bitmap.cpp
Common/Version.cpp
Common/CreateAnimMesh.cpp
Common/simd.h
Common/simd.cpp
Common/material.cpp
Common/AssertHandler.cpp
Common/Exceptional.cpp
)
SOURCE_GROUP(Common FILES ${Common_SRCS})
SET( CApi_SRCS
CApi/CInterfaceIOWrapper.cpp
CApi/CInterfaceIOWrapper.h
)
SOURCE_GROUP(CApi FILES ${CApi_SRCS})
SET( STEPParser_SRCS
AssetLib/STEPParser/STEPFileReader.h
AssetLib/STEPParser/STEPFileReader.cpp
AssetLib/STEPParser/STEPFileEncoding.cpp
AssetLib/STEPParser/STEPFileEncoding.h
)
SOURCE_GROUP(STEPParser FILES ${STEPParser_SRCS})
IF ( ASSIMP_BUILD_NONFREE_C4D_IMPORTER )
SET( C4D_SRCS
AssetLib/C4D/C4DImporter.cpp
AssetLib/C4D/C4DImporter.h
)
SOURCE_GROUP( C4D FILES ${C4D_SRCS})
ENDIF ()
# if this variable is set to TRUE, the user can manually disable importers by setting
# ASSIMP_BUILD_XXX_IMPORTER to FALSE for each importer
# if this variable is set to FALSE, the user can manually enable importers by setting
# ASSIMP_BUILD_XXX_IMPORTER to TRUE for each importer
OPTION(ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT "default value of all ASSIMP_BUILD_XXX_IMPORTER values" TRUE)
# macro to add the CMake Option ADD_ASSIMP_IMPORTER_<name> which enables compile of loader
# this way selective loaders can be compiled (reduces filesize + compile time)
MACRO(ADD_ASSIMP_IMPORTER name)
IF (ASSIMP_BUILD_ALL_IMPORTERS_BY_DEFAULT)
set(ASSIMP_IMPORTER_ENABLED TRUE)
IF (DEFINED ASSIMP_BUILD_${name}_IMPORTER AND NOT ASSIMP_BUILD_${name}_IMPORTER)
set(ASSIMP_IMPORTER_ENABLED FALSE)
ENDIF ()
ELSE ()
set(ASSIMP_IMPORTER_ENABLED ${ASSIMP_BUILD_${name}_IMPORTER})
ENDIF ()
IF (ASSIMP_IMPORTER_ENABLED)
LIST(APPEND ASSIM
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
qt3d-everywhere-src-6.6.0.zip (2000个子文件)
unzip.c 71KB
Sample_SimpleOpenGL.c 13KB
ioapi.c 12KB
crypt.c 5KB
cencode.c 3KB
CCompilerTest.c 249B
IFCReaderGen_4.cpp 395KB
IFCReaderGen1_2x3.cpp 212KB
FBXConverter.cpp 144KB
renderer.cpp 119KB
IFCReaderGen2_2x3.cpp 115KB
gltfimporter.cpp 107KB
FBXExporter.cpp 103KB
ColladaParser.cpp 99KB
renderer.cpp 95KB
MessageProc.cpp 92KB
MDLLoader.cpp 86KB
gltfexporter.cpp 83KB
ColladaLoader.cpp 81KB
Display.cpp 77KB
renderview.cpp 71KB
ColladaExporter.cpp 69KB
qtexture.cpp 68KB
ASEParser.cpp 68KB
renderview.cpp 68KB
glTF2Importer.cpp 66KB
submissioncontext.cpp 61KB
gltfio.cpp 60KB
IFCOpenings.cpp 60KB
submissioncontext.cpp 58KB
assimpimporter.cpp 57KB
glTF2Exporter.cpp 57KB
HL1MDLLoader.cpp 57KB
LWOLoader.cpp 53KB
ASELoader.cpp 53KB
Shaders.cpp 51KB
Material.cpp 50KB
BlenderLoader.cpp 50KB
graphicshelpergl4.cpp 49KB
IRRLoader.cpp 48KB
SceneCombiner.cpp 48KB
NFFLoader.cpp 48KB
3DSLoader.cpp 46KB
OpenGEXImporter.cpp 45KB
XFileParser.cpp 45KB
qrenderaspect.cpp 44KB
Assimp.cpp 43KB
Importer.cpp 42KB
MD3Loader.cpp 42KB
COBLoader.cpp 42KB
assimp_view.cpp 41KB
ValidateDataStructure.cpp 41KB
AMFImporter_Postprocess.cpp 40KB
glTFExporter.cpp 40KB
graphicshelpergl3_2.cpp 40KB
graphicshelpergl3_3.cpp 39KB
SMDLoader.cpp 39KB
IFCLoader.cpp 39KB
IFCBoolean.cpp 39KB
FBXParser.cpp 39KB
PbrtExporter.cpp 37KB
ACLoader.cpp 36KB
BlenderScene.cpp 36KB
PlyLoader.cpp 36KB
texture.cpp 35KB
LWSLoader.cpp 34KB
graphicscontext.cpp 34KB
o3dgcArithmeticCodec.cpp 33KB
PlyParser.cpp 33KB
OgreStructs.cpp 33KB
M3DImporter.cpp 32KB
3DSConverter.cpp 32KB
qcamera.cpp 32KB
SIBImporter.cpp 32KB
scene3ditem.cpp 32KB
IFCGeometry.cpp 32KB
LWOMaterial.cpp 32KB
OgreBinarySerializer.cpp 31KB
DXFLoader.cpp 31KB
OgreXmlSerializer.cpp 31KB
graphicshelperes2.cpp 31KB
imguirenderer.cpp 30KB
pipelineuboset.cpp 30KB
gltexture.cpp 30KB
MD5Loader.cpp 30KB
pickboundingvolumeutils.cpp 30KB
qshadergenerator.cpp 30KB
XFileImporter.cpp 30KB
CompareDump.cpp 30KB
AssbinFileWriter.cpp 29KB
Exporter.cpp 28KB
qabstracttexture.cpp 28KB
OpenDDLParser.cpp 28KB
ObjFileImporter.cpp 28KB
utglTF2ImportExport.cpp 28KB
ObjFileParser.cpp 28KB
FBXMeshGeometry.cpp 27KB
AssxmlFileWriter.cpp 27KB
MDLMaterialLoader.cpp 27KB
glTFImporter.cpp 26KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
三雷科技
- 粉丝: 4w+
- 资源: 383
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功