Added cmake generated files to the project
parent
d929de0f0f
commit
ccda46dc45
|
@ -30,13 +30,13 @@ x64/
|
|||
CMakeLists.txt.user
|
||||
|
||||
# Generated
|
||||
assimp.pc
|
||||
assimp.aps
|
||||
revision.h
|
||||
contrib/zlib/zconf.h
|
||||
contrib/zlib/zlib.pc
|
||||
include/assimp/config.h
|
||||
unit.vcxproj.user
|
||||
# assimp.pc
|
||||
# assimp.aps
|
||||
# revision.h
|
||||
# contrib/zlib/zconf.h
|
||||
# contrib/zlib/zlib.pc
|
||||
# include/assimp/config.h
|
||||
# unit.vcxproj.user
|
||||
|
||||
# CMake
|
||||
CMakeCache.txt
|
||||
|
|
|
@ -0,0 +1,860 @@
|
|||
AssimpIncludeExporters = false
|
||||
|
||||
HeaderPath = "%{prj.location}/include/assimp"
|
||||
CodePath = "%{prj.location}/code"
|
||||
AssimpSourceFiles = {}
|
||||
AssimpSourceFilesIndex = 0
|
||||
|
||||
AssimpImporterSourceFiles = {}
|
||||
AssimpImporterSourceFilesIndex = 0
|
||||
|
||||
AssimpExporterSourceFiles = {}
|
||||
AssimpExporterSourceFilesIndex = 0
|
||||
|
||||
|
||||
function AddSourceFilesCode(sourceFiles)
|
||||
for _, file in ipairs(sourceFiles) do
|
||||
AssimpSourceFiles[AssimpSourceFilesIndex] = file
|
||||
AssimpSourceFilesIndex = AssimpSourceFilesIndex + 1
|
||||
end
|
||||
end
|
||||
|
||||
function AddAssimpImporter(importerFiles)
|
||||
for _, file in ipairs(importerFiles) do
|
||||
AssimpImporterSourceFiles[AssimpImporterSourceFilesIndex] = file
|
||||
AssimpImporterSourceFilesIndex = AssimpImporterSourceFilesIndex + 1
|
||||
end
|
||||
end
|
||||
|
||||
function AddAssimpExporter(exporterFiles)
|
||||
for _, file in table.getn(exporterFiles) do
|
||||
AssimpExporterSourceFiles[AssimpExporterSourceFilesIndex] = file
|
||||
AssimpExporterSourceFilesIndex = AssimpExporterSourceFilesIndex + 1
|
||||
end
|
||||
end
|
||||
|
||||
AssimpPublicHeaders = {
|
||||
"%{HeaderPath}/anim.h",
|
||||
"%{HeaderPath}/aabb.h",
|
||||
"%{HeaderPath}/ai_assert.h",
|
||||
"%{HeaderPath}/camera.h",
|
||||
"%{HeaderPath}/color4.h",
|
||||
"%{HeaderPath}/color4.inl",
|
||||
"%{HeaderPath}/config.h",
|
||||
"%{HeaderPath}/ColladaMetaData.h",
|
||||
"%{HeaderPath}/commonMetaData.h",
|
||||
"%{HeaderPath}/defs.h",
|
||||
"%{HeaderPath}/cfileio.h",
|
||||
"%{HeaderPath}/light.h",
|
||||
"%{HeaderPath}/material.h",
|
||||
"%{HeaderPath}/material.inl",
|
||||
"%{HeaderPath}/matrix3x3.h",
|
||||
"%{HeaderPath}/matrix3x3.inl",
|
||||
"%{HeaderPath}/matrix4x4.h",
|
||||
"%{HeaderPath}/matrix4x4.inl",
|
||||
"%{HeaderPath}/mesh.h",
|
||||
"%{HeaderPath}/ObjMaterial.h",
|
||||
"%{HeaderPath}/pbrmaterial.h",
|
||||
"%{HeaderPath}/GltfMaterial.h",
|
||||
"%{HeaderPath}/postprocess.h",
|
||||
"%{HeaderPath}/quaternion.h",
|
||||
"%{HeaderPath}/quaternion.inl",
|
||||
"%{HeaderPath}/scene.h",
|
||||
"%{HeaderPath}/metadata.h",
|
||||
"%{HeaderPath}/texture.h",
|
||||
"%{HeaderPath}/types.h",
|
||||
"%{HeaderPath}/vector2.h",
|
||||
"%{HeaderPath}/vector2.inl",
|
||||
"%{HeaderPath}/vector3.h",
|
||||
"%{HeaderPath}/vector3.inl",
|
||||
"%{HeaderPath}/version.h",
|
||||
"%{HeaderPath}/cimport.h",
|
||||
"%{HeaderPath}/AssertHandler.h",
|
||||
"%{HeaderPath}/importerdesc.h",
|
||||
"%{HeaderPath}/Importer.hpp",
|
||||
"%{HeaderPath}/DefaultLogger.hpp",
|
||||
"%{HeaderPath}/ProgressHandler.hpp",
|
||||
"%{HeaderPath}/IOStream.hpp",
|
||||
"%{HeaderPath}/IOSystem.hpp",
|
||||
"%{HeaderPath}/Logger.hpp",
|
||||
"%{HeaderPath}/LogStream.hpp",
|
||||
"%{HeaderPath}/NullLogger.hpp",
|
||||
"%{HeaderPath}/cexport.h",
|
||||
"%{HeaderPath}/Exporter.hpp",
|
||||
"%{HeaderPath}/DefaultIOStream.h",
|
||||
"%{HeaderPath}/DefaultIOSystem.h",
|
||||
"%{HeaderPath}/ZipArchiveIOSystem.h",
|
||||
"%{HeaderPath}/SceneCombiner.h",
|
||||
"%{HeaderPath}/fast_atof.h",
|
||||
"%{HeaderPath}/qnan.h",
|
||||
"%{HeaderPath}/BaseImporter.h",
|
||||
"%{HeaderPath}/Hash.h",
|
||||
"%{HeaderPath}/MemoryIOWrapper.h",
|
||||
"%{HeaderPath}/ParsingUtils.h",
|
||||
"%{HeaderPath}/StreamReader.h",
|
||||
"%{HeaderPath}/StreamWriter.h",
|
||||
"%{HeaderPath}/StringComparison.h",
|
||||
"%{HeaderPath}/StringUtils.h",
|
||||
"%{HeaderPath}/SGSpatialSort.h",
|
||||
"%{HeaderPath}/GenericProperty.h",
|
||||
"%{HeaderPath}/SpatialSort.h",
|
||||
"%{HeaderPath}/SkeletonMeshBuilder.h",
|
||||
"%{HeaderPath}/SmallVector.h",
|
||||
"%{HeaderPath}/SmoothingGroups.h",
|
||||
"%{HeaderPath}/SmoothingGroups.inl",
|
||||
"%{HeaderPath}/StandardShapes.h",
|
||||
"%{HeaderPath}/RemoveComments.h",
|
||||
"%{HeaderPath}/Subdivision.h",
|
||||
"%{HeaderPath}/Vertex.h",
|
||||
"%{HeaderPath}/LineSplitter.h",
|
||||
"%{HeaderPath}/TinyFormatter.h",
|
||||
"%{HeaderPath}/Profiler.h",
|
||||
"%{HeaderPath}/LogAux.h",
|
||||
"%{HeaderPath}/Bitmap.h",
|
||||
"%{HeaderPath}/XMLTools.h",
|
||||
"%{HeaderPath}/IOStreamBuffer.h",
|
||||
"%{HeaderPath}/CreateAnimMesh.h",
|
||||
"%{HeaderPath}/XmlParser.h",
|
||||
"%{HeaderPath}/BlobIOSystem.h",
|
||||
"%{HeaderPath}/MathFunctions.h",
|
||||
"%{HeaderPath}/Exceptional.h",
|
||||
"%{HeaderPath}/ByteSwapper.h",
|
||||
"%{HeaderPath}/Base64.hpp",
|
||||
|
||||
"%{HeaderPath}/Compiler/pushpack1.h",
|
||||
"%{HeaderPath}/Compiler/poppack1.h",
|
||||
"%{HeaderPath}/Compiler/pstdint.h"
|
||||
}
|
||||
AddSourceFilesCode(AssimpPublicHeaders)
|
||||
|
||||
AssimpLoggingSourceFiles = {
|
||||
"%{HeaderPath}/DefaultLogger.hpp",
|
||||
"%{HeaderPath}/LogStream.hpp",
|
||||
"%{HeaderPath}/Logger.hpp",
|
||||
"%{HeaderPath}/NullLogger.hpp",
|
||||
"%{CodePath}/Common/Win32DebugLogStream.h",
|
||||
"%{CodePath}/Common/DefaultLogger.cpp",
|
||||
"%{CodePath}/Common/FileLogStream.h",
|
||||
"%{CodePath}/Common/StdOStreamLogStream.h"
|
||||
}
|
||||
AddSourceFilesCode(AssimpLoggingSourceFiles)
|
||||
|
||||
AssimpCommonSourceFiles = {
|
||||
"%{CodePath}/Common/StbCommon.h",
|
||||
"%{CodePath}/Common/Compression.cpp",
|
||||
"%{CodePath}/Common/Compression.h",
|
||||
"%{CodePath}/Common/BaseImporter.cpp",
|
||||
"%{CodePath}/Common/BaseProcess.cpp",
|
||||
"%{CodePath}/Common/BaseProcess.h",
|
||||
"%{CodePath}/Common/Importer.h",
|
||||
"%{CodePath}/Common/ScenePrivate.h",
|
||||
"%{CodePath}/Common/PostStepRegistry.cpp",
|
||||
"%{CodePath}/Common/ImporterRegistry.cpp",
|
||||
"%{CodePath}/Common/DefaultProgressHandler.h",
|
||||
"%{CodePath}/Common/DefaultIOStream.cpp",
|
||||
"%{CodePath}/Common/IOSystem.cpp",
|
||||
"%{CodePath}/Common/DefaultIOSystem.cpp",
|
||||
"%{CodePath}/Common/ZipArchiveIOSystem.cpp",
|
||||
"%{CodePath}/Common/PolyTools.h",
|
||||
"%{CodePath}/Common/Maybe.h",
|
||||
"%{CodePath}/Common/Importer.cpp",
|
||||
"%{CodePath}/Common/IFF.h",
|
||||
"%{CodePath}/Common/SGSpatialSort.cpp",
|
||||
"%{CodePath}/Common/VertexTriangleAdjacency.cpp",
|
||||
"%{CodePath}/Common/VertexTriangleAdjacency.h",
|
||||
"%{CodePath}/Common/SpatialSort.cpp",
|
||||
"%{CodePath}/Common/SceneCombiner.cpp",
|
||||
"%{CodePath}/Common/ScenePreprocessor.cpp",
|
||||
"%{CodePath}/Common/ScenePreprocessor.h",
|
||||
"%{CodePath}/Common/SkeletonMeshBuilder.cpp",
|
||||
"%{CodePath}/Common/StackAllocator.h",
|
||||
"%{CodePath}/Common/StackAllocator.inl",
|
||||
"%{CodePath}/Common/StandardShapes.cpp",
|
||||
"%{CodePath}/Common/TargetAnimation.cpp",
|
||||
"%{CodePath}/Common/TargetAnimation.h",
|
||||
"%{CodePath}/Common/RemoveComments.cpp",
|
||||
"%{CodePath}/Common/Subdivision.cpp",
|
||||
"%{CodePath}/Common/scene.cpp",
|
||||
"%{CodePath}/Common/Bitmap.cpp",
|
||||
"%{CodePath}/Common/Version.cpp",
|
||||
"%{CodePath}/Common/CreateAnimMesh.cpp",
|
||||
"%{CodePath}/Common/simd.h",
|
||||
"%{CodePath}/Common/simd.cpp",
|
||||
"%{CodePath}/Common/material.cpp",
|
||||
"%{CodePath}/Common/AssertHandler.cpp",
|
||||
"%{CodePath}/Common/Exceptional.cpp",
|
||||
"%{CodePath}/Common/Base64.cpp"
|
||||
}
|
||||
AddSourceFilesCode(AssimpCommonSourceFiles)
|
||||
|
||||
AssimpCAPISourceFiles = {
|
||||
"%{CodePath}/CApi/CInterfaceIOWrapper.cpp",
|
||||
"%{CodePath}/CApi/CInterfaceIOWrapper.h"
|
||||
}
|
||||
AddSourceFilesCode(AssimpCAPISourceFiles)
|
||||
|
||||
AssimpGeometrySourceFiles = {
|
||||
"%{CodePath}/Geometry/GeometryUtils.h",
|
||||
"%{CodePath}/Geometry/GeometryUtils.cpp"
|
||||
}
|
||||
AddSourceFilesCode(AssimpGeometrySourceFiles)
|
||||
|
||||
AssimpSTEPParserSourceFiles = {
|
||||
"%{CodePath}/AssetLib/STEPParser/STEPFileReader.h",
|
||||
"%{CodePath}/AssetLib/STEPParser/STEPFileReader.cpp",
|
||||
"%{CodePath}/AssetLib/STEPParser/STEPFileEncoding.cpp",
|
||||
"%{CodePath}/AssetLib/STEPParser/STEPFileEncoding.h"
|
||||
}
|
||||
AddSourceFilesCode(AssimpSTEPParserSourceFiles)
|
||||
|
||||
-- C4D Importer not supported
|
||||
|
||||
|
||||
AMFImporter = {
|
||||
"%{CodePath}/AssetLib/AMF/AMFImporter.hpp",
|
||||
"%{CodePath}/AssetLib/AMF/AMFImporter_Node.hpp",
|
||||
"%{CodePath}/AssetLib/AMF/AMFImporter.cpp",
|
||||
"%{CodePath}/AssetLib/AMF/AMFImporter_Geometry.cpp",
|
||||
"%{CodePath}/AssetLib/AMF/AMFImporter_Material.cpp",
|
||||
"%{CodePath}/AssetLib/AMF/AMFImporter_Postprocess.cpp"
|
||||
}
|
||||
AddAssimpImporter(AMFImporter)
|
||||
|
||||
_3DSImporter = {
|
||||
"%{CodePath}/AssetLib/3DS/3DSConverter.cpp",
|
||||
"%{CodePath}/AssetLib/3DS/3DSHelper.h",
|
||||
"%{CodePath}/AssetLib/3DS/3DSLoader.cpp",
|
||||
"%{CodePath}/AssetLib/3DS/3DSLoader.h"
|
||||
}
|
||||
AddAssimpImporter(_3DSImporter)
|
||||
|
||||
ACImporter = {
|
||||
"%{CodePath}/AssetLib/AC/ACLoader.cpp",
|
||||
"%{CodePath}/AssetLib/AC/ACLoader.h"
|
||||
}
|
||||
AddAssimpImporter(ACImporter)
|
||||
|
||||
ASEImporter = {
|
||||
"%{CodePath}/AssetLib/ASE/ASELoader.cpp",
|
||||
"%{CodePath}/AssetLib/ASE/ASELoader.h",
|
||||
"%{CodePath}/AssetLib/ASE/ASEParser.cpp",
|
||||
"%{CodePath}/AssetLib/ASE/ASEParser.h"
|
||||
}
|
||||
AddAssimpImporter(ASEImporter)
|
||||
|
||||
ASSBINImporter = {
|
||||
"%{CodePath}/AssetLib/Assbin/AssbinLoader.h",
|
||||
"%{CodePath}/AssetLib/Assbin/AssbinLoader.cpp"
|
||||
}
|
||||
AddAssimpImporter(ASSBINImporter)
|
||||
|
||||
B3DImporter = {
|
||||
"%{CodePath}/AssetLib/B3D/B3DImporter.cpp",
|
||||
"%{CodePath}/AssetLib/B3D/B3DImporter.h"
|
||||
}
|
||||
AddAssimpImporter(B3DImporter)
|
||||
|
||||
BVHImporter = {
|
||||
"%{CodePath}/AssetLib/BVH/BVHLoader.cpp",
|
||||
"%{CodePath}/AssetLib/BVH/BVHLoader.h"
|
||||
}
|
||||
AddAssimpImporter(BVHImporter)
|
||||
|
||||
ColladaImporter = {
|
||||
"%{CodePath}/AssetLib/Collada/ColladaHelper.cpp",
|
||||
"%{CodePath}/AssetLib/Collada/ColladaHelper.h",
|
||||
"%{CodePath}/AssetLib/Collada/ColladaLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Collada/ColladaLoader.h",
|
||||
"%{CodePath}/AssetLib/Collada/ColladaParser.cpp",
|
||||
"%{CodePath}/AssetLib/Collada/ColladaParser.h"
|
||||
}
|
||||
AddAssimpImporter(ColladaImporter)
|
||||
|
||||
DXFImporter = {
|
||||
"%{CodePath}/AssetLib/DXF/DXFLoader.cpp",
|
||||
"%{CodePath}/AssetLib/DXF/DXFLoader.h",
|
||||
"%{CodePath}/AssetLib/DXF/DXFHelper.h"
|
||||
}
|
||||
AddAssimpImporter(DXFImporter)
|
||||
|
||||
CSMImporter = {
|
||||
"%{CodePath}/AssetLib/CSM/CSMLoader.cpp",
|
||||
"%{CodePath}/AssetLib/CSM/CSMLoader.h"
|
||||
}
|
||||
AddAssimpImporter(CSMImporter)
|
||||
|
||||
HMPImporter = {
|
||||
"%{CodePath}/AssetLib/HMP/HMPFileData.h",
|
||||
"%{CodePath}/AssetLib/HMP/HMPLoader.cpp",
|
||||
"%{CodePath}/AssetLib/HMP/HMPLoader.h",
|
||||
"%{CodePath}/AssetLib/HMP/HalfLifeFileData.h"
|
||||
}
|
||||
AddAssimpImporter(HMPImporter)
|
||||
|
||||
IRRMESHImporter = {
|
||||
"%{CodePath}/AssetLib/Irr/IRRMeshLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Irr/IRRMeshLoader.h",
|
||||
"%{CodePath}/AssetLib/Irr/IRRShared.cpp",
|
||||
"%{CodePath}/AssetLib/Irr/IRRShared.h"
|
||||
}
|
||||
AddAssimpImporter(IRRMESHImporter)
|
||||
|
||||
IQMImporter = {
|
||||
"%{CodePath}/AssetLib/IQM/IQMImporter.cpp",
|
||||
"%{CodePath}/AssetLib/IQM/iqm.h",
|
||||
"%{CodePath}/AssetLib/IQM/IQMImporter.h"
|
||||
}
|
||||
AddAssimpImporter(IQMImporter)
|
||||
|
||||
IRRImporter = {
|
||||
"%{CodePath}/AssetLib/Irr/IRRLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Irr/IRRLoader.h",
|
||||
"%{CodePath}/AssetLib/Irr/IRRShared.cpp",
|
||||
"%{CodePath}/AssetLib/Irr/IRRShared.h"
|
||||
}
|
||||
AddAssimpImporter(IRRImporter)
|
||||
|
||||
LWOImporter = {
|
||||
"%{CodePath}/AssetLib/LWO/LWOAnimation.cpp",
|
||||
"%{CodePath}/AssetLib/LWO/LWOAnimation.h",
|
||||
"%{CodePath}/AssetLib/LWO/LWOBLoader.cpp",
|
||||
"%{CodePath}/AssetLib/LWO/LWOFileData.h",
|
||||
"%{CodePath}/AssetLib/LWO/LWOLoader.cpp",
|
||||
"%{CodePath}/AssetLib/LWO/LWOLoader.h",
|
||||
"%{CodePath}/AssetLib/LWO/LWOMaterial.cpp"
|
||||
}
|
||||
AddAssimpImporter(LWOImporter)
|
||||
|
||||
LWSImporter = {
|
||||
"%{CodePath}/AssetLib/LWS/LWSLoader.cpp",
|
||||
"%{CodePath}/AssetLib/LWS/LWSLoader.h"
|
||||
}
|
||||
AddAssimpImporter(LWSImporter)
|
||||
|
||||
M3DImporter = {
|
||||
"%{CodePath}/AssetLib/M3D/M3DMaterials.h",
|
||||
"%{CodePath}/AssetLib/M3D/M3DImporter.h",
|
||||
"%{CodePath}/AssetLib/M3D/M3DImporter.cpp",
|
||||
"%{CodePath}/AssetLib/M3D/M3DWrapper.h",
|
||||
"%{CodePath}/AssetLib/M3D/M3DWrapper.cpp",
|
||||
"%{CodePath}/AssetLib/M3D/m3d.h"
|
||||
}
|
||||
AddAssimpImporter(M3DImporter)
|
||||
|
||||
MD2Importer = {
|
||||
"%{CodePath}/AssetLib/MD2/MD2FileData.h",
|
||||
"%{CodePath}/AssetLib/MD2/MD2Loader.cpp",
|
||||
"%{CodePath}/AssetLib/MD2/MD2Loader.h",
|
||||
"%{CodePath}/AssetLib/MD2/MD2NormalTable.h"
|
||||
}
|
||||
AddAssimpImporter(MD2Importer)
|
||||
|
||||
M3DImporter = {
|
||||
"%{CodePath}/AssetLib/MD3/MD3FileData.h",
|
||||
"%{CodePath}/AssetLib/MD3/MD3Loader.cpp",
|
||||
"%{CodePath}/AssetLib/MD3/MD3Loader.h"
|
||||
}
|
||||
AddAssimpImporter(M3DImporter)
|
||||
|
||||
MD5Importer = {
|
||||
"%{CodePath}/AssetLib/MD5/MD5Loader.cpp",
|
||||
"%{CodePath}/AssetLib/MD5/MD5Loader.h",
|
||||
"%{CodePath}/AssetLib/MD5/MD5Parser.cpp",
|
||||
"%{CodePath}/AssetLib/MD5/MD5Parser.h"
|
||||
}
|
||||
AddAssimpImporter(MD5Importer)
|
||||
|
||||
MDCImporter = {
|
||||
"%{CodePath}/AssetLib/MDC/MDCFileData.h",
|
||||
"%{CodePath}/AssetLib/MDC/MDCLoader.cpp",
|
||||
"%{CodePath}/AssetLib/MDC/MDCLoader.h",
|
||||
"%{CodePath}/AssetLib/MDC/MDCNormalTable.h"
|
||||
}
|
||||
AddAssimpImporter(MDCImporter)
|
||||
|
||||
MDLImporter = {
|
||||
"%{CodePath}/AssetLib/MDL/MDLDefaultColorMap.h",
|
||||
"%{CodePath}/AssetLib/MDL/MDLFileData.h",
|
||||
"%{CodePath}/AssetLib/MDL/MDLLoader.cpp",
|
||||
"%{CodePath}/AssetLib/MDL/MDLLoader.h",
|
||||
"%{CodePath}/AssetLib/MDL/MDLMaterialLoader.cpp",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/HalfLifeMDLBaseHeader.h",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/HL1FileData.h",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/HL1MDLLoader.cpp",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/HL1MDLLoader.h",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/HL1ImportDefinitions.h",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/HL1ImportSettings.h",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/HL1MeshTrivert.h",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/LogFunctions.h",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/UniqueNameGenerator.cpp",
|
||||
"%{CodePath}/AssetLib/MDL/HalfLife/UniqueNameGenerator.h"
|
||||
}
|
||||
AddAssimpImporter(MDLImporter)
|
||||
|
||||
MaterialSystemSourceFiles = {
|
||||
"%{CodePath}/Material/MaterialSystem.cpp",
|
||||
"%{CodePath}/Material/MaterialSystem.h"
|
||||
}
|
||||
AddSourceFilesCode(MaterialSystemSourceFiles)
|
||||
|
||||
|
||||
NFFImporter = {
|
||||
"%{CodePath}/AssetLib/NFF/NFFLoader.cpp",
|
||||
"%{CodePath}/AssetLib/NFF/NFFLoader.h"
|
||||
}
|
||||
AddAssimpImporter(NFFImporter)
|
||||
|
||||
NDOImporter = {
|
||||
"%{CodePath}/AssetLib/NDO/NDOLoader.cpp",
|
||||
"%{CodePath}/AssetLib/NDO/NDOLoader.h"
|
||||
}
|
||||
AddAssimpImporter(NDOImporter)
|
||||
|
||||
OFFImporter = {
|
||||
"%{CodePath}/AssetLib/OFF/OFFLoader.cpp",
|
||||
"%{CodePath}/AssetLib/OFF/OFFLoader.h"
|
||||
}
|
||||
|
||||
OBJImporter = {
|
||||
"%{CodePath}/AssetLib/Obj/ObjFileData.h",
|
||||
"%{CodePath}/AssetLib/Obj/ObjFileImporter.cpp",
|
||||
"%{CodePath}/AssetLib/Obj/ObjFileImporter.h",
|
||||
"%{CodePath}/AssetLib/Obj/ObjFileMtlImporter.cpp",
|
||||
"%{CodePath}/AssetLib/Obj/ObjFileMtlImporter.h",
|
||||
"%{CodePath}/AssetLib/Obj/ObjFileParser.cpp",
|
||||
"%{CodePath}/AssetLib/Obj/ObjFileParser.h",
|
||||
"%{CodePath}/AssetLib/Obj/ObjTools.h"
|
||||
}
|
||||
AddAssimpImporter(OBJImporter)
|
||||
|
||||
OGREImporter = {
|
||||
"%{CodePath}/AssetLib/Ogre/OgreImporter.h",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreStructs.h",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreParsingUtils.h",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreBinarySerializer.h",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreXmlSerializer.h",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreImporter.cpp",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreStructs.cpp",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreBinarySerializer.cpp",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreXmlSerializer.cpp",
|
||||
"%{CodePath}/AssetLib/Ogre/OgreMaterial.cpp"
|
||||
}
|
||||
AddAssimpImporter(OGREImporter)
|
||||
|
||||
OPENGEXImporter = {
|
||||
"%{CodePath}/AssetLib/OpenGEX/OpenGEXImporter.cpp",
|
||||
"%{CodePath}/AssetLib/OpenGEX/OpenGEXImporter.h",
|
||||
"%{CodePath}/AssetLib/OpenGEX/OpenGEXStructs.h"
|
||||
}
|
||||
AddAssimpImporter(OPENGEXImporter)
|
||||
|
||||
PLYImporter = {
|
||||
"%{CodePath}/AssetLib/Ply/PlyLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Ply/PlyLoader.h",
|
||||
"%{CodePath}/AssetLib/Ply/PlyParser.cpp",
|
||||
"%{CodePath}/AssetLib/Ply/PlyParser.h"
|
||||
}
|
||||
AddAssimpImporter(PLYImporter)
|
||||
|
||||
MS3DImporter = {
|
||||
"%{CodePath}/AssetLib/MS3D/MS3DLoader.cpp",
|
||||
"%{CodePath}/AssetLib/MS3D/MS3DLoader.h"
|
||||
}
|
||||
AddAssimpImporter(MS3DImporter)
|
||||
|
||||
COBImporter = {
|
||||
"%{CodePath}/AssetLib/COB/COBLoader.cpp",
|
||||
"%{CodePath}/AssetLib/COB/COBLoader.h",
|
||||
"%{CodePath}/AssetLib/COB/COBScene.h"
|
||||
}
|
||||
AddAssimpImporter(COBImporter)
|
||||
|
||||
BLENDImporter = {
|
||||
"%{CodePath}/AssetLib/Blender/BlenderLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderLoader.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderDNA.cpp",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderDNA.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderDNA.inl",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderScene.cpp",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderScene.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderSceneGen.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderIntermediate.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderModifier.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderModifier.cpp",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderBMesh.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderBMesh.cpp",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderTessellator.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderTessellator.cpp",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderCustomData.h",
|
||||
"%{CodePath}/AssetLib/Blender/BlenderCustomData.cpp"
|
||||
}
|
||||
AddAssimpImporter(BLENDImporter)
|
||||
|
||||
IFCImporter = {
|
||||
"%{CodePath}/AssetLib/IFC/IFCLoader.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCLoader.h",
|
||||
"%{CodePath}/AssetLib/IFC/IFCReaderGen1_2x3.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCReaderGen2_2x3.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCReaderGen_2x3.h",
|
||||
"%{CodePath}/AssetLib/IFC/IFCUtil.h",
|
||||
"%{CodePath}/AssetLib/IFC/IFCUtil.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCGeometry.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCMaterial.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCProfile.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCCurve.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCBoolean.cpp",
|
||||
"%{CodePath}/AssetLib/IFC/IFCOpenings.cpp"
|
||||
}
|
||||
AddAssimpImporter(IFCImporter)
|
||||
|
||||
XGLImporter = {
|
||||
"%{CodePath}/AssetLib/XGL/XGLLoader.cpp",
|
||||
"%{CodePath}/AssetLib/XGL/XGLLoader.h"
|
||||
}
|
||||
AddAssimpImporter(XGLImporter)
|
||||
|
||||
FBXImporter = {
|
||||
"%{CodePath}/AssetLib/FBX/FBXImporter.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXCompileConfig.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXImporter.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXParser.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXParser.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXTokenizer.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXTokenizer.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXImportSettings.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXConverter.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXConverter.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXUtil.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXUtil.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXDocument.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXDocument.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXProperties.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXProperties.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXMeshGeometry.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXMeshGeometry.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXMaterial.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXModel.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXAnimation.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXNodeAttribute.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXDeformer.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXBinaryTokenizer.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXDocumentUtil.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXCommon.h"
|
||||
}
|
||||
AddAssimpImporter(FBXImporter)
|
||||
|
||||
if (AssimpIncludeExporters) then
|
||||
OBJExporter = {
|
||||
"%{CodePath}/AssetLib/Obj/ObjExporter.h",
|
||||
"%{CodePath}/AssetLib/Obj/ObjExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(OBJExporter)
|
||||
|
||||
OPENGEXExporter = {
|
||||
"%{CodePath}/AssetLib/OpenGEX/OpenGEXExporter.cpp",
|
||||
"%{CodePath}/AssetLib/OpenGEX/OpenGEXExporter.h"
|
||||
}
|
||||
AddAssimpExporter(OPENGEXExporter)
|
||||
|
||||
PLYExporter = {
|
||||
"%{CodePath}/AssetLib/Ply/PlyExporter.cpp",
|
||||
"%{CodePath}/AssetLib/Ply/PlyExporter.h"
|
||||
}
|
||||
AddAssimpExporter(PLYExporter)
|
||||
|
||||
_3DSExporter = {
|
||||
"%{CodePath}/AssetLib/3DS/3DSExporter.h",
|
||||
"%{CodePath}/AssetLib/3DS/3DSExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(_3DSExporter)
|
||||
|
||||
ASSBINExporter = {
|
||||
"%{CodePath}/AssetLib/Assbin/AssbinExporter.h",
|
||||
"%{CodePath}/AssetLib/Assbin/AssbinExporter.cpp",
|
||||
"%{CodePath}/AssetLib/Assbin/AssbinFileWriter.h",
|
||||
"%{CodePath}/AssetLib/Assbin/AssbinFileWriter.cpp"
|
||||
}
|
||||
AddAssimpExporter(ASSBINExporter)
|
||||
|
||||
ASSXMLExporter = {
|
||||
"%{CodePath}/AssetLib/Assxml/AssxmlExporter.h",
|
||||
"%{CodePath}/AssetLib/Assxml/AssxmlExporter.cpp",
|
||||
"%{CodePath}/AssetLib/Assxml/AssxmlFileWriter.h",
|
||||
"%{CodePath}/AssetLib/Assxml/AssxmlFileWriter.cpp"
|
||||
}
|
||||
AddAssimpExporter(ASSXMLExporter)
|
||||
|
||||
M3DExporter = {
|
||||
"%{CodePath}/AssetLib/M3D/M3DExporter.h",
|
||||
"%{CodePath}/AssetLib/M3D/M3DExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(M3DExporter)
|
||||
|
||||
ColladaExporter = {
|
||||
"%{CodePath}/AssetLib/Collada/ColladaExporter.h",
|
||||
"%{CodePath}/AssetLib/Collada/ColladaExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(ColladaExporter)
|
||||
|
||||
FBXExporter = {
|
||||
"%{CodePath}/AssetLib/FBX/FBXExporter.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXExporter.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXExportNode.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXExportNode.cpp",
|
||||
"%{CodePath}/AssetLib/FBX/FBXExportProperty.h",
|
||||
"%{CodePath}/AssetLib/FBX/FBXExportProperty.cpp"
|
||||
}
|
||||
AddAssimpExporter(FBXExporter)
|
||||
|
||||
STLExporter = {
|
||||
"%{CodePath}/AssetLib/STL/STLExporter.h",
|
||||
"%{CodePath}/AssetLib/STL/STLExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(STLExporter)
|
||||
|
||||
XExporter = {
|
||||
"%{CodePath}/AssetLib/X/XFileExporter.h",
|
||||
"%{CodePath}/AssetLib/X/XFileExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(XExporter)
|
||||
|
||||
X3DExporter = {
|
||||
"%{CodePath}/AssetLib/X3D/X3DExporter.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DExporter.hpp"
|
||||
}
|
||||
AddAssimpExporter(X3DExporter)
|
||||
|
||||
GLTFExporter = {
|
||||
"%{CodePath}/AssetLib/glTF/glTFExporter.h",
|
||||
"%{CodePath}/AssetLib/glTF/glTFExporter.cpp",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2Exporter.h",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2Exporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(GLTFExporter)
|
||||
|
||||
_3MFExporter = {
|
||||
"%{CodePath}/AssetLib/3MF/D3MFExporter.h",
|
||||
"%{CodePath}/AssetLib/3MF/D3MFExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(_3MFExporter)
|
||||
|
||||
PBRTExporter = {
|
||||
"%{CodePath}/Pbrt/PbrtExporter.h",
|
||||
"%{CodePath}/Pbrt/PbrtExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(PBRTExporter)
|
||||
|
||||
ASSJSON = {
|
||||
"%{CodePath}/AssetLib/Assjson/cencode.c",
|
||||
"%{CodePath}/AssetLib/Assjson/cencode.h",
|
||||
"%{CodePath}/AssetLib/Assjson/json_exporter.cpp",
|
||||
"%{CodePath}/AssetLib/Assjson/mesh_splitter.cpp",
|
||||
"%{CodePath}/AssetLib/Assjson/mesh_splitter.h"
|
||||
}
|
||||
AddAssimpExporter(ASSJSON)
|
||||
|
||||
StepExporter = {
|
||||
"%{CodePath}/AssetLib/Step/StepExporter.h",
|
||||
"%{CodePath}/AssetLib/Step/StepExporter.cpp"
|
||||
}
|
||||
AddAssimpExporter(StepExporter)
|
||||
end
|
||||
|
||||
PostProcessingSourceFiles = {
|
||||
"%{CodePath}/PostProcessing/CalcTangentsProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/CalcTangentsProcess.h",
|
||||
"%{CodePath}/PostProcessing/ComputeUVMappingProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/ComputeUVMappingProcess.h",
|
||||
"%{CodePath}/PostProcessing/ConvertToLHProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/ConvertToLHProcess.h",
|
||||
"%{CodePath}/PostProcessing/EmbedTexturesProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/EmbedTexturesProcess.h",
|
||||
"%{CodePath}/PostProcessing/FindDegenerates.cpp",
|
||||
"%{CodePath}/PostProcessing/FindDegenerates.h",
|
||||
"%{CodePath}/PostProcessing/FindInstancesProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/FindInstancesProcess.h",
|
||||
"%{CodePath}/PostProcessing/FindInvalidDataProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/FindInvalidDataProcess.h",
|
||||
"%{CodePath}/PostProcessing/FixNormalsStep.cpp",
|
||||
"%{CodePath}/PostProcessing/FixNormalsStep.h",
|
||||
"%{CodePath}/PostProcessing/DropFaceNormalsProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/DropFaceNormalsProcess.h",
|
||||
"%{CodePath}/PostProcessing/GenFaceNormalsProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/GenFaceNormalsProcess.h",
|
||||
"%{CodePath}/PostProcessing/GenVertexNormalsProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/GenVertexNormalsProcess.h",
|
||||
"%{CodePath}/PostProcessing/PretransformVertices.cpp",
|
||||
"%{CodePath}/PostProcessing/PretransformVertices.h",
|
||||
"%{CodePath}/PostProcessing/ImproveCacheLocality.cpp",
|
||||
"%{CodePath}/PostProcessing/ImproveCacheLocality.h",
|
||||
"%{CodePath}/PostProcessing/JoinVerticesProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/JoinVerticesProcess.h",
|
||||
"%{CodePath}/PostProcessing/LimitBoneWeightsProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/LimitBoneWeightsProcess.h",
|
||||
"%{CodePath}/PostProcessing/RemoveRedundantMaterials.cpp",
|
||||
"%{CodePath}/PostProcessing/RemoveRedundantMaterials.h",
|
||||
"%{CodePath}/PostProcessing/RemoveVCProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/RemoveVCProcess.h",
|
||||
"%{CodePath}/PostProcessing/SortByPTypeProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/SortByPTypeProcess.h",
|
||||
"%{CodePath}/PostProcessing/SplitLargeMeshes.cpp",
|
||||
"%{CodePath}/PostProcessing/SplitLargeMeshes.h",
|
||||
"%{CodePath}/PostProcessing/TextureTransform.cpp",
|
||||
"%{CodePath}/PostProcessing/TextureTransform.h",
|
||||
"%{CodePath}/PostProcessing/TriangulateProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/TriangulateProcess.h",
|
||||
"%{CodePath}/PostProcessing/ValidateDataStructure.cpp",
|
||||
"%{CodePath}/PostProcessing/ValidateDataStructure.h",
|
||||
"%{CodePath}/PostProcessing/OptimizeGraph.cpp",
|
||||
"%{CodePath}/PostProcessing/OptimizeGraph.h",
|
||||
"%{CodePath}/PostProcessing/OptimizeMeshes.cpp",
|
||||
"%{CodePath}/PostProcessing/OptimizeMeshes.h",
|
||||
"%{CodePath}/PostProcessing/DeboneProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/DeboneProcess.h",
|
||||
"%{CodePath}/PostProcessing/ProcessHelper.h",
|
||||
"%{CodePath}/PostProcessing/ProcessHelper.cpp",
|
||||
"%{CodePath}/PostProcessing/MakeVerboseFormat.cpp",
|
||||
"%{CodePath}/PostProcessing/MakeVerboseFormat.h",
|
||||
"%{CodePath}/PostProcessing/ScaleProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/ScaleProcess.h",
|
||||
"%{CodePath}/PostProcessing/ArmaturePopulate.cpp",
|
||||
"%{CodePath}/PostProcessing/ArmaturePopulate.h",
|
||||
"%{CodePath}/PostProcessing/GenBoundingBoxesProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/GenBoundingBoxesProcess.h",
|
||||
"%{CodePath}/PostProcessing/SplitByBoneCountProcess.cpp",
|
||||
"%{CodePath}/PostProcessing/SplitByBoneCountProcess.h"
|
||||
}
|
||||
AddSourceFilesCode(PostProcessingSourceFiles)
|
||||
|
||||
Q3DImporter = {
|
||||
"%{CodePath}/AssetLib/Q3D/Q3DLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Q3D/Q3DLoader.h"
|
||||
}
|
||||
AddAssimpImporter(Q3DImporter)
|
||||
|
||||
Q3BSPImporter = {
|
||||
"%{CodePath}/AssetLib/Q3BSP/Q3BSPFileData.h",
|
||||
"%{CodePath}/AssetLib/Q3BSP/Q3BSPFileParser.h",
|
||||
"%{CodePath}/AssetLib/Q3BSP/Q3BSPFileParser.cpp",
|
||||
"%{CodePath}/AssetLib/Q3BSP/Q3BSPFileImporter.h",
|
||||
"%{CodePath}/AssetLib/Q3BSP/Q3BSPFileImporter.cpp"
|
||||
}
|
||||
AddAssimpImporter(Q3BSPImporter)
|
||||
|
||||
RAWImporter = {
|
||||
"%{CodePath}/AssetLib/Raw/RawLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Raw/RawLoader.h"
|
||||
}
|
||||
AddAssimpImporter(RAWImporter)
|
||||
|
||||
SIBImporter = {
|
||||
"%{CodePath}/AssetLib/SIB/SIBImporter.cpp",
|
||||
"%{CodePath}/AssetLib/SIB/SIBImporter.h"
|
||||
}
|
||||
AddAssimpImporter(SIBImporter)
|
||||
|
||||
SMDImporter = {
|
||||
"%{CodePath}/AssetLib/SMD/SMDLoader.cpp",
|
||||
"%{CodePath}/AssetLib/SMD/SMDLoader.h"
|
||||
}
|
||||
AddAssimpImporter(SMDImporter)
|
||||
|
||||
STLImporter = {
|
||||
"%{CodePath}/AssetLib/STL/STLLoader.cpp",
|
||||
"%{CodePath}/AssetLib/STL/STLLoader.h"
|
||||
}
|
||||
AddAssimpImporter(STLImporter)
|
||||
|
||||
TerragenImporter = {
|
||||
"%{CodePath}/AssetLib/Terragen/TerragenLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Terragen/TerragenLoader.h"
|
||||
}
|
||||
AddAssimpImporter(TerragenImporter)
|
||||
|
||||
_3DImporter = {
|
||||
"%{CodePath}/AssetLib/Unreal/UnrealLoader.cpp",
|
||||
"%{CodePath}/AssetLib/Unreal/UnrealLoader.h"
|
||||
}
|
||||
AddAssimpImporter(_3DImporter)
|
||||
|
||||
XImporter = {
|
||||
"%{CodePath}/AssetLib/X/XFileHelper.h",
|
||||
"%{CodePath}/AssetLib/X/XFileImporter.cpp",
|
||||
"%{CodePath}/AssetLib/X/XFileImporter.h",
|
||||
"%{CodePath}/AssetLib/X/XFileParser.cpp",
|
||||
"%{CodePath}/AssetLib/X/XFileParser.h"
|
||||
}
|
||||
AddAssimpImporter(XImporter)
|
||||
|
||||
X3DImporter = {
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Geometry2D.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Geometry3D.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Group.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Light.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Metadata.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Networking.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Postprocess.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Rendering.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Shape.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Texturing.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter.hpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Macro.hpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DImporter_Node.hpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DGeoHelper.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DGeoHelper.h",
|
||||
"%{CodePath}/AssetLib/X3D/X3DXmlHelper.cpp",
|
||||
"%{CodePath}/AssetLib/X3D/X3DXmlHelper.h"
|
||||
}
|
||||
AddAssimpImporter(X3DImporter)
|
||||
|
||||
GLTFImporter = {
|
||||
"%{CodePath}/AssetLib/glTF/glTFCommon.h",
|
||||
"%{CodePath}/AssetLib/glTF/glTFCommon.cpp",
|
||||
"%{CodePath}/AssetLib/glTF/glTFAsset.h",
|
||||
"%{CodePath}/AssetLib/glTF/glTFAsset.inl",
|
||||
"%{CodePath}/AssetLib/glTF/glTFAssetWriter.h",
|
||||
"%{CodePath}/AssetLib/glTF/glTFAssetWriter.inl",
|
||||
"%{CodePath}/AssetLib/glTF/glTFImporter.cpp",
|
||||
"%{CodePath}/AssetLib/glTF/glTFImporter.h",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2Asset.h",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2Asset.inl",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2AssetWriter.h",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2AssetWriter.inl",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2Importer.cpp",
|
||||
"%{CodePath}/AssetLib/glTF2/glTF2Importer.h"
|
||||
}
|
||||
AddAssimpImporter(GLTFImporter)
|
||||
|
||||
_3MFImporter = {
|
||||
"%{CodePath}/AssetLib/3MF/3MFTypes.h",
|
||||
"%{CodePath}/AssetLib/3MF/XmlSerializer.h",
|
||||
"%{CodePath}/AssetLib/3MF/XmlSerializer.cpp",
|
||||
"%{CodePath}/AssetLib/3MF/D3MFImporter.h",
|
||||
"%{CodePath}/AssetLib/3MF/D3MFImporter.cpp",
|
||||
"%{CodePath}/AssetLib/3MF/D3MFOpcPackage.h",
|
||||
"%{CodePath}/AssetLib/3MF/D3MFOpcPackage.cpp",
|
||||
"%{CodePath}/AssetLib/3MF/3MFXmlTags.h"
|
||||
}
|
||||
AddAssimpImporter(_3MFImporter)
|
||||
|
||||
MMDImporter = {
|
||||
"%{CodePath}/AssetLib/MMD/MMDCpp14.h",
|
||||
"%{CodePath}/AssetLib/MMD/MMDImporter.cpp",
|
||||
"%{CodePath}/AssetLib/MMD/MMDImporter.h",
|
||||
"%{CodePath}/AssetLib/MMD/MMDPmdParser.h",
|
||||
"%{CodePath}/AssetLib/MMD/MMDPmxParser.h",
|
||||
"%{CodePath}/AssetLib/MMD/MMDPmxParser.cpp",
|
||||
"%{CodePath}/AssetLib/MMD/MMDVmdParser.h"
|
||||
}
|
||||
AddAssimpImporter(MMDImporter)
|
||||
|
||||
if (AssimpIncludeExporters) then
|
||||
ExporterSourceFiles = {
|
||||
"%{CodePath}/Common/Exporter.cpp",
|
||||
"%{CodePath}/CApi/AssimpCExport.cpp",
|
||||
"%{HeaderPath}/BlobIOSystem.h"
|
||||
}
|
||||
AddAssimpExporter(ExporterSourceFiles)
|
||||
end
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
ContribPath = "%{prj.location}/contrib"
|
||||
|
||||
ContribIncludeDirs = {
|
||||
"%{ContribPath}",
|
||||
"%{ContribPath}/zlib",
|
||||
"%{ContribPath}/zip/src",
|
||||
"%{ContribPath}/unzip",
|
||||
"%{ContribPath}/utf8cpp/source",
|
||||
"%{ContribPath}/stb",
|
||||
"%{ContribPath}/rapidjson/include",
|
||||
"%{ContribPath}/pugixml/src",
|
||||
"%{ContribPath}/plo2tri/plo2tri",
|
||||
"%{ContribPath}/openddlparser/include",
|
||||
"%{ContribPath}/Open3DGC",
|
||||
"%{ContribPath}/clipper"
|
||||
}
|
||||
|
||||
ContribSourceFiles = {}
|
||||
ContribSourceFilesIndex = 0
|
||||
|
||||
function AddSourceFilesContrib(sourceFiles)
|
||||
for _, file in ipairs(sourceFiles) do
|
||||
ContribSourceFiles[ContribSourceFilesIndex] = file
|
||||
ContribSourceFilesIndex = ContribSourceFilesIndex + 1
|
||||
end
|
||||
end
|
||||
|
||||
ClipperSourceFiles = {
|
||||
"%{ContribPath}/clipper/clipper.hpp",
|
||||
"%{ContribPath}/clipper/clipper.cpp"
|
||||
}
|
||||
AddSourceFilesContrib(ClipperSourceFiles)
|
||||
|
||||
Poly2triSourceFiles = {
|
||||
"%{ContribPath}/poly2tri/poly2tri/common/shapes.cc",
|
||||
"%{ContribPath}/poly2tri/poly2tri/common/shapes.h",
|
||||
"%{ContribPath}/poly2tri/poly2tri/common/utils.h",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/advancing_front.h",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/advancing_front.cc",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/cdt.cc",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/cdt.h",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/sweep.cc",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/sweep.h",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/sweep_context.cc",
|
||||
"%{ContribPath}/poly2tri/poly2tri/sweep/sweep_context.h"
|
||||
}
|
||||
AddSourceFilesContrib(Poly2triSourceFiles)
|
||||
|
||||
UnzipSourceFiles = {
|
||||
"%{ContribPath}/unzip/crypt.h",
|
||||
"%{ContribPath}/unzip/ioapi.c",
|
||||
"%{ContribPath}/unzip/ioapi.h",
|
||||
"%{ContribPath}/unzip/unzip.c",
|
||||
"%{ContribPath}/unzip/unzip.h"
|
||||
}
|
||||
AddSourceFilesContrib(UnzipSourceFiles)
|
||||
|
||||
ZiplibSourceFiles = {
|
||||
"%{ContribPath}/zip/src/miniz.h",
|
||||
"%{ContribPath}/zip/src/zip.c",
|
||||
"%{ContribPath}/zip/src/zip.h"
|
||||
}
|
||||
AddSourceFilesContrib(ZiplibSourceFiles)
|
||||
|
||||
OppenddlparserSourceFiles = {
|
||||
"%{ContribPath}/openddlparser/code/OpenDDLParser.cpp",
|
||||
"%{ContribPath}/openddlparser/code/DDLNode.cpp",
|
||||
"%{ContribPath}/openddlparser/code/OpenDDLCommon.cpp",
|
||||
"%{ContribPath}/openddlparser/code/OpenDDLExport.cpp",
|
||||
"%{ContribPath}/openddlparser/code/Value.cpp",
|
||||
"%{ContribPath}/openddlparser/code/OpenDDLStream.cpp",
|
||||
"%{ContribPath}/openddlparser/include/openddlparser/OpenDDLParser.h",
|
||||
"%{ContribPath}/openddlparser/include/openddlparser/OpenDDLParserUtils.h",
|
||||
"%{ContribPath}/openddlparser/include/openddlparser/OpenDDLCommon.h",
|
||||
"%{ContribPath}/openddlparser/include/openddlparser/OpenDDLExport.h",
|
||||
"%{ContribPath}/openddlparser/include/openddlparser/OpenDDLStream.h",
|
||||
"%{ContribPath}/openddlparser/include/openddlparser/DDLNode.h",
|
||||
"%{ContribPath}/openddlparser/include/openddlparser/Value.h"
|
||||
}
|
||||
--AddSourceFilesContrib(OppenddlparserSourceFiles)
|
||||
|
||||
|
||||
Open3dgcSourceFiles = {
|
||||
"%{ContribPath}/Open3DGC/o3dgcAdjacencyInfo.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcArithmeticCodec.cpp",
|
||||
"%{ContribPath}/Open3DGC/o3dgcArithmeticCodec.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcBinaryStream.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcCommon.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcDVEncodeParams.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcDynamicVectorDecoder.cpp",
|
||||
"%{ContribPath}/Open3DGC/o3dgcDynamicVectorDecoder.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcDynamicVectorEncoder.cpp",
|
||||
"%{ContribPath}/Open3DGC/o3dgcDynamicVectorEncoder.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcDynamicVector.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcFIFO.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcIndexedFaceSet.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcIndexedFaceSet.inl",
|
||||
"%{ContribPath}/Open3DGC/o3dgcSC3DMCDecoder.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcSC3DMCDecoder.inl",
|
||||
"%{ContribPath}/Open3DGC/o3dgcSC3DMCEncodeParams.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcSC3DMCEncoder.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcSC3DMCEncoder.inl",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTimer.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTools.cpp",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTriangleFans.cpp",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTriangleFans.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTriangleListDecoder.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTriangleListDecoder.inl",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTriangleListEncoder.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcTriangleListEncoder.inl",
|
||||
"%{ContribPath}/Open3DGC/o3dgcVector.h",
|
||||
"%{ContribPath}/Open3DGC/o3dgcVector.inl"
|
||||
}
|
||||
AddSourceFilesContrib(Open3dgcSourceFiles)
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
project "openddlparser"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
cppdialect "C++11"
|
||||
staticruntime "off"
|
||||
warnings "off"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
|
||||
files
|
||||
{
|
||||
"%{prj.location}/code/*.cpp",
|
||||
"%{prj.location}/include/*.h"
|
||||
}
|
||||
|
||||
includedirs
|
||||
{
|
||||
"%{prj.location}/include"
|
||||
}
|
||||
|
||||
defines
|
||||
{
|
||||
"OPENDDL_STATIC_LIBARY"
|
||||
}
|
||||
|
||||
filter "system:linux"
|
||||
pic "On"
|
||||
systemversion "latest"
|
||||
|
||||
filter "system:macosx"
|
||||
pic "On"
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
|
@ -0,0 +1,27 @@
|
|||
Copyright (c) 2003-2022 Jason Perkins and individual contributors.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice,
|
||||
this list of conditions and the following disclaimer.
|
||||
|
||||
2. 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.
|
||||
|
||||
3. Neither the name of Premake nor the names of its contributors may be
|
||||
used to endorse or promote products derived from this software without
|
||||
specific prior written permission.
|
||||
|
||||
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 HOLDER 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.
|
Binary file not shown.
|
@ -0,0 +1,25 @@
|
|||
project "pugixml"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
cppdialect "C++11"
|
||||
staticruntime "off"
|
||||
warnings "off"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
files
|
||||
{
|
||||
"src/*.hpp",
|
||||
"src/*.cpp",
|
||||
}
|
||||
|
||||
filter "system:linux"
|
||||
pic "On"
|
||||
systemversion "latest"
|
||||
|
||||
filter "system:macosx"
|
||||
pic "On"
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
|
@ -0,0 +1,24 @@
|
|||
project "zip"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
staticruntime "off"
|
||||
warnings "off"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
files
|
||||
{
|
||||
"%{prj.location}/src/*.h",
|
||||
"%{prj.location}/src/*.c"
|
||||
}
|
||||
|
||||
filter "system:linux"
|
||||
pic "On"
|
||||
systemversion "latest"
|
||||
|
||||
filter "system:macosx"
|
||||
pic "On"
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
|
@ -0,0 +1,24 @@
|
|||
project "zlib"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
staticruntime "off"
|
||||
warnings "off"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
files
|
||||
{
|
||||
"%{prj.location}/*.h",
|
||||
"%{prj.location}/*.c"
|
||||
}
|
||||
|
||||
filter "system:linux"
|
||||
pic "On"
|
||||
systemversion "latest"
|
||||
|
||||
filter "system:macosx"
|
||||
pic "On"
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
|
@ -0,0 +1,549 @@
|
|||
/* zconf.h -- configuration of the zlib compression library
|
||||
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
|
||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||
*/
|
||||
|
||||
/* @(#) $Id$ */
|
||||
|
||||
#ifndef ZCONF_H
|
||||
#define ZCONF_H
|
||||
/* #undef Z_PREFIX */
|
||||
/* #undef Z_HAVE_UNISTD_H */
|
||||
|
||||
/*
|
||||
* If you *really* need a unique prefix for all types and library functions,
|
||||
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
||||
* Even better than compiling with -DZ_PREFIX would be to use configure to set
|
||||
* this permanently in zconf.h using "./configure --zprefix".
|
||||
*/
|
||||
#ifdef Z_PREFIX /* may be set to #if 1 by ./configure */
|
||||
# define Z_PREFIX_SET
|
||||
|
||||
/* all linked symbols and init macros */
|
||||
# define _dist_code z__dist_code
|
||||
# define _length_code z__length_code
|
||||
# define _tr_align z__tr_align
|
||||
# define _tr_flush_bits z__tr_flush_bits
|
||||
# define _tr_flush_block z__tr_flush_block
|
||||
# define _tr_init z__tr_init
|
||||
# define _tr_stored_block z__tr_stored_block
|
||||
# define _tr_tally z__tr_tally
|
||||
# define adler32 z_adler32
|
||||
# define adler32_combine z_adler32_combine
|
||||
# define adler32_combine64 z_adler32_combine64
|
||||
# define adler32_z z_adler32_z
|
||||
# ifndef Z_SOLO
|
||||
# define compress z_compress
|
||||
# define compress2 z_compress2
|
||||
# define compressBound z_compressBound
|
||||
# endif
|
||||
# define crc32 z_crc32
|
||||
# define crc32_combine z_crc32_combine
|
||||
# define crc32_combine64 z_crc32_combine64
|
||||
# define crc32_combine_gen z_crc32_combine_gen
|
||||
# define crc32_combine_gen64 z_crc32_combine_gen64
|
||||
# define crc32_combine_op z_crc32_combine_op
|
||||
# define crc32_z z_crc32_z
|
||||
# define deflate z_deflate
|
||||
# define deflateBound z_deflateBound
|
||||
# define deflateCopy z_deflateCopy
|
||||
# define deflateEnd z_deflateEnd
|
||||
# define deflateGetDictionary z_deflateGetDictionary
|
||||
# define deflateInit z_deflateInit
|
||||
# define deflateInit2 z_deflateInit2
|
||||
# define deflateInit2_ z_deflateInit2_
|
||||
# define deflateInit_ z_deflateInit_
|
||||
# define deflateParams z_deflateParams
|
||||
# define deflatePending z_deflatePending
|
||||
# define deflatePrime z_deflatePrime
|
||||
# define deflateReset z_deflateReset
|
||||
# define deflateResetKeep z_deflateResetKeep
|
||||
# define deflateSetDictionary z_deflateSetDictionary
|
||||
# define deflateSetHeader z_deflateSetHeader
|
||||
# define deflateTune z_deflateTune
|
||||
# define deflate_copyright z_deflate_copyright
|
||||
# define get_crc_table z_get_crc_table
|
||||
# ifndef Z_SOLO
|
||||
# define gz_error z_gz_error
|
||||
# define gz_intmax z_gz_intmax
|
||||
# define gz_strwinerror z_gz_strwinerror
|
||||
# define gzbuffer z_gzbuffer
|
||||
# define gzclearerr z_gzclearerr
|
||||
# define gzclose z_gzclose
|
||||
# define gzclose_r z_gzclose_r
|
||||
# define gzclose_w z_gzclose_w
|
||||
# define gzdirect z_gzdirect
|
||||
# define gzdopen z_gzdopen
|
||||
# define gzeof z_gzeof
|
||||
# define gzerror z_gzerror
|
||||
# define gzflush z_gzflush
|
||||
# define gzfread z_gzfread
|
||||
# define gzfwrite z_gzfwrite
|
||||
# define gzgetc z_gzgetc
|
||||
# define gzgetc_ z_gzgetc_
|
||||
# define gzgets z_gzgets
|
||||
# define gzoffset z_gzoffset
|
||||
# define gzoffset64 z_gzoffset64
|
||||
# define gzopen z_gzopen
|
||||
# define gzopen64 z_gzopen64
|
||||
# ifdef _WIN32
|
||||
# define gzopen_w z_gzopen_w
|
||||
# endif
|
||||
# define gzprintf z_gzprintf
|
||||
# define gzputc z_gzputc
|
||||
# define gzputs z_gzputs
|
||||
# define gzread z_gzread
|
||||
# define gzrewind z_gzrewind
|
||||
# define gzseek z_gzseek
|
||||
# define gzseek64 z_gzseek64
|
||||
# define gzsetparams z_gzsetparams
|
||||
# define gztell z_gztell
|
||||
# define gztell64 z_gztell64
|
||||
# define gzungetc z_gzungetc
|
||||
# define gzvprintf z_gzvprintf
|
||||
# define gzwrite z_gzwrite
|
||||
# endif
|
||||
# define inflate z_inflate
|
||||
# define inflateBack z_inflateBack
|
||||
# define inflateBackEnd z_inflateBackEnd
|
||||
# define inflateBackInit z_inflateBackInit
|
||||
# define inflateBackInit_ z_inflateBackInit_
|
||||
# define inflateCodesUsed z_inflateCodesUsed
|
||||
# define inflateCopy z_inflateCopy
|
||||
# define inflateEnd z_inflateEnd
|
||||
# define inflateGetDictionary z_inflateGetDictionary
|
||||
# define inflateGetHeader z_inflateGetHeader
|
||||
# define inflateInit z_inflateInit
|
||||
# define inflateInit2 z_inflateInit2
|
||||
# define inflateInit2_ z_inflateInit2_
|
||||
# define inflateInit_ z_inflateInit_
|
||||
# define inflateMark z_inflateMark
|
||||
# define inflatePrime z_inflatePrime
|
||||
# define inflateReset z_inflateReset
|
||||
# define inflateReset2 z_inflateReset2
|
||||
# define inflateResetKeep z_inflateResetKeep
|
||||
# define inflateSetDictionary z_inflateSetDictionary
|
||||
# define inflateSync z_inflateSync
|
||||
# define inflateSyncPoint z_inflateSyncPoint
|
||||
# define inflateUndermine z_inflateUndermine
|
||||
# define inflateValidate z_inflateValidate
|
||||
# define inflate_copyright z_inflate_copyright
|
||||
# define inflate_fast z_inflate_fast
|
||||
# define inflate_table z_inflate_table
|
||||
# ifndef Z_SOLO
|
||||
# define uncompress z_uncompress
|
||||
# define uncompress2 z_uncompress2
|
||||
# endif
|
||||
# define zError z_zError
|
||||
# ifndef Z_SOLO
|
||||
# define zcalloc z_zcalloc
|
||||
# define zcfree z_zcfree
|
||||
# endif
|
||||
# define zlibCompileFlags z_zlibCompileFlags
|
||||
# define zlibVersion z_zlibVersion
|
||||
|
||||
/* all zlib typedefs in zlib.h and zconf.h */
|
||||
# define Byte z_Byte
|
||||
# define Bytef z_Bytef
|
||||
# define alloc_func z_alloc_func
|
||||
# define charf z_charf
|
||||
# define free_func z_free_func
|
||||
# ifndef Z_SOLO
|
||||
# define gzFile z_gzFile
|
||||
# endif
|
||||
# define gz_header z_gz_header
|
||||
# define gz_headerp z_gz_headerp
|
||||
# define in_func z_in_func
|
||||
# define intf z_intf
|
||||
# define out_func z_out_func
|
||||
# define uInt z_uInt
|
||||
# define uIntf z_uIntf
|
||||
# define uLong z_uLong
|
||||
# define uLongf z_uLongf
|
||||
# define voidp z_voidp
|
||||
# define voidpc z_voidpc
|
||||
# define voidpf z_voidpf
|
||||
|
||||
/* all zlib structs in zlib.h and zconf.h */
|
||||
# define gz_header_s z_gz_header_s
|
||||
# define internal_state z_internal_state
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(__MSDOS__) && !defined(MSDOS)
|
||||
# define MSDOS
|
||||
#endif
|
||||
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
|
||||
# define OS2
|
||||
#endif
|
||||
#if defined(_WINDOWS) && !defined(WINDOWS)
|
||||
# define WINDOWS
|
||||
#endif
|
||||
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
|
||||
# ifndef WIN32
|
||||
# define WIN32
|
||||
# endif
|
||||
#endif
|
||||
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
|
||||
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
|
||||
# ifndef SYS16BIT
|
||||
# define SYS16BIT
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
|
||||
* than 64k bytes at a time (needed on systems with 16-bit int).
|
||||
*/
|
||||
#ifdef SYS16BIT
|
||||
# define MAXSEG_64K
|
||||
#endif
|
||||
#ifdef MSDOS
|
||||
# define UNALIGNED_OK
|
||||
#endif
|
||||
|
||||
#ifdef __STDC_VERSION__
|
||||
# ifndef STDC
|
||||
# define STDC
|
||||
# endif
|
||||
# if __STDC_VERSION__ >= 199901L
|
||||
# ifndef STDC99
|
||||
# define STDC99
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
|
||||
# define STDC
|
||||
#endif
|
||||
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
|
||||
# define STDC
|
||||
#endif
|
||||
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
|
||||
# define STDC
|
||||
#endif
|
||||
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
|
||||
# define STDC
|
||||
#endif
|
||||
|
||||
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
|
||||
# define STDC
|
||||
#endif
|
||||
|
||||
#ifndef STDC
|
||||
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
|
||||
# define const /* note: need a more gentle solution here */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(ZLIB_CONST) && !defined(z_const)
|
||||
# define z_const const
|
||||
#else
|
||||
# define z_const
|
||||
#endif
|
||||
|
||||
#ifdef Z_SOLO
|
||||
typedef unsigned long z_size_t;
|
||||
#else
|
||||
# define z_longlong long long
|
||||
# if defined(NO_SIZE_T)
|
||||
typedef unsigned NO_SIZE_T z_size_t;
|
||||
# elif defined(STDC)
|
||||
# include <stddef.h>
|
||||
typedef size_t z_size_t;
|
||||
# else
|
||||
typedef unsigned long z_size_t;
|
||||
# endif
|
||||
# undef z_longlong
|
||||
#endif
|
||||
|
||||
/* Maximum value for memLevel in deflateInit2 */
|
||||
#ifndef MAX_MEM_LEVEL
|
||||
# ifdef MAXSEG_64K
|
||||
# define MAX_MEM_LEVEL 8
|
||||
# else
|
||||
# define MAX_MEM_LEVEL 9
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* Maximum value for windowBits in deflateInit2 and inflateInit2.
|
||||
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
|
||||
* created by gzip. (Files created by minigzip can still be extracted by
|
||||
* gzip.)
|
||||
*/
|
||||
#ifndef MAX_WBITS
|
||||
# define MAX_WBITS 15 /* 32K LZ77 window */
|
||||
#endif
|
||||
|
||||
/* The memory requirements for deflate are (in bytes):
|
||||
(1 << (windowBits+2)) + (1 << (memLevel+9))
|
||||
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
|
||||
plus a few kilobytes for small objects. For example, if you want to reduce
|
||||
the default memory requirements from 256K to 128K, compile with
|
||||
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
|
||||
Of course this will generally degrade compression (there's no free lunch).
|
||||
|
||||
The memory requirements for inflate are (in bytes) 1 << windowBits
|
||||
that is, 32K for windowBits=15 (default value) plus about 7 kilobytes
|
||||
for small objects.
|
||||
*/
|
||||
|
||||
/* Type declarations */
|
||||
|
||||
#ifndef OF /* function prototypes */
|
||||
# ifdef STDC
|
||||
# define OF(args) args
|
||||
# else
|
||||
# define OF(args) ()
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef Z_ARG /* function prototypes for stdarg */
|
||||
# if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
||||
# define Z_ARG(args) args
|
||||
# else
|
||||
# define Z_ARG(args) ()
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* The following definitions for FAR are needed only for MSDOS mixed
|
||||
* model programming (small or medium model with some far allocations).
|
||||
* This was tested only with MSC; for other MSDOS compilers you may have
|
||||
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
|
||||
* just define FAR to be empty.
|
||||
*/
|
||||
#ifdef SYS16BIT
|
||||
# if defined(M_I86SM) || defined(M_I86MM)
|
||||
/* MSC small or medium model */
|
||||
# define SMALL_MEDIUM
|
||||
# ifdef _MSC_VER
|
||||
# define FAR _far
|
||||
# else
|
||||
# define FAR far
|
||||
# endif
|
||||
# endif
|
||||
# if (defined(__SMALL__) || defined(__MEDIUM__))
|
||||
/* Turbo C small or medium model */
|
||||
# define SMALL_MEDIUM
|
||||
# ifdef __BORLANDC__
|
||||
# define FAR _far
|
||||
# else
|
||||
# define FAR far
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(WINDOWS) || defined(WIN32)
|
||||
/* If building or using zlib as a DLL, define ZLIB_DLL.
|
||||
* This is not mandatory, but it offers a little performance increase.
|
||||
*/
|
||||
# ifdef ZLIB_DLL
|
||||
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
|
||||
# ifdef ZLIB_INTERNAL
|
||||
# define ZEXTERN extern __declspec(dllexport)
|
||||
# else
|
||||
# define ZEXTERN extern __declspec(dllimport)
|
||||
# endif
|
||||
# endif
|
||||
# endif /* ZLIB_DLL */
|
||||
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
|
||||
* define ZLIB_WINAPI.
|
||||
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
|
||||
*/
|
||||
# ifdef ZLIB_WINAPI
|
||||
# ifdef FAR
|
||||
# undef FAR
|
||||
# endif
|
||||
# ifndef WIN32_LEAN_AND_MEAN
|
||||
# define WIN32_LEAN_AND_MEAN
|
||||
# endif
|
||||
# include <windows.h>
|
||||
/* No need for _export, use ZLIB.DEF instead. */
|
||||
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
|
||||
# define ZEXPORT WINAPI
|
||||
# ifdef WIN32
|
||||
# define ZEXPORTVA WINAPIV
|
||||
# else
|
||||
# define ZEXPORTVA FAR CDECL
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined (__BEOS__)
|
||||
# ifdef ZLIB_DLL
|
||||
# ifdef ZLIB_INTERNAL
|
||||
# define ZEXPORT __declspec(dllexport)
|
||||
# define ZEXPORTVA __declspec(dllexport)
|
||||
# else
|
||||
# define ZEXPORT __declspec(dllimport)
|
||||
# define ZEXPORTVA __declspec(dllimport)
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifndef ZEXTERN
|
||||
# define ZEXTERN extern
|
||||
#endif
|
||||
#ifndef ZEXPORT
|
||||
# define ZEXPORT
|
||||
#endif
|
||||
#ifndef ZEXPORTVA
|
||||
# define ZEXPORTVA
|
||||
#endif
|
||||
|
||||
#ifndef FAR
|
||||
# define FAR
|
||||
#endif
|
||||
|
||||
#if !defined(__MACTYPES__)
|
||||
typedef unsigned char Byte; /* 8 bits */
|
||||
#endif
|
||||
typedef unsigned int uInt; /* 16 bits or more */
|
||||
typedef unsigned long uLong; /* 32 bits or more */
|
||||
|
||||
#ifdef SMALL_MEDIUM
|
||||
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
|
||||
# define Bytef Byte FAR
|
||||
#else
|
||||
typedef Byte FAR Bytef;
|
||||
#endif
|
||||
typedef char FAR charf;
|
||||
typedef int FAR intf;
|
||||
typedef uInt FAR uIntf;
|
||||
typedef uLong FAR uLongf;
|
||||
|
||||
#ifdef STDC
|
||||
typedef void const *voidpc;
|
||||
typedef void FAR *voidpf;
|
||||
typedef void *voidp;
|
||||
#else
|
||||
typedef Byte const *voidpc;
|
||||
typedef Byte FAR *voidpf;
|
||||
typedef Byte *voidp;
|
||||
#endif
|
||||
|
||||
#if !defined(Z_U4) && !defined(Z_SOLO) && defined(STDC)
|
||||
# include <limits.h>
|
||||
# if (UINT_MAX == 0xffffffffUL)
|
||||
# define Z_U4 unsigned
|
||||
# elif (ULONG_MAX == 0xffffffffUL)
|
||||
# define Z_U4 unsigned long
|
||||
# elif (USHRT_MAX == 0xffffffffUL)
|
||||
# define Z_U4 unsigned short
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef Z_U4
|
||||
typedef Z_U4 z_crc_t;
|
||||
#else
|
||||
typedef unsigned long z_crc_t;
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */
|
||||
# define Z_HAVE_UNISTD_H
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_STDARG_H /* may be set to #if 1 by ./configure */
|
||||
# define Z_HAVE_STDARG_H
|
||||
#endif
|
||||
|
||||
#ifdef STDC
|
||||
# ifndef Z_SOLO
|
||||
# include <sys/types.h> /* for off_t */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(STDC) || defined(Z_HAVE_STDARG_H)
|
||||
# ifndef Z_SOLO
|
||||
# include <stdarg.h> /* for va_list */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# ifndef Z_SOLO
|
||||
# include <stddef.h> /* for wchar_t */
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
|
||||
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
|
||||
* though the former does not conform to the LFS document), but considering
|
||||
* both "#undef _LARGEFILE64_SOURCE" and "#define _LARGEFILE64_SOURCE 0" as
|
||||
* equivalently requesting no 64-bit operations
|
||||
*/
|
||||
#if defined(_LARGEFILE64_SOURCE) && -_LARGEFILE64_SOURCE - -1 == 1
|
||||
# undef _LARGEFILE64_SOURCE
|
||||
#endif
|
||||
|
||||
#ifndef Z_HAVE_UNISTD_H
|
||||
# ifdef __WATCOMC__
|
||||
# define Z_HAVE_UNISTD_H
|
||||
# endif
|
||||
#endif
|
||||
#ifndef Z_HAVE_UNISTD_H
|
||||
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
|
||||
# define Z_HAVE_UNISTD_H
|
||||
# endif
|
||||
#endif
|
||||
#ifndef Z_SOLO
|
||||
# if defined(Z_HAVE_UNISTD_H)
|
||||
# include <unistd.h> /* for SEEK_*, off_t, and _LFS64_LARGEFILE */
|
||||
# ifdef VMS
|
||||
# include <unixio.h> /* for off_t */
|
||||
# endif
|
||||
# ifndef z_off_t
|
||||
# define z_off_t off_t
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(_LFS64_LARGEFILE) && _LFS64_LARGEFILE-0
|
||||
# define Z_LFS64
|
||||
#endif
|
||||
|
||||
#if defined(_LARGEFILE64_SOURCE) && defined(Z_LFS64)
|
||||
# define Z_LARGE64
|
||||
#endif
|
||||
|
||||
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS-0 == 64 && defined(Z_LFS64)
|
||||
# define Z_WANT64
|
||||
#endif
|
||||
|
||||
#if !defined(SEEK_SET) && !defined(Z_SOLO)
|
||||
# define SEEK_SET 0 /* Seek from beginning of file. */
|
||||
# define SEEK_CUR 1 /* Seek from current position. */
|
||||
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
|
||||
#endif
|
||||
|
||||
#ifndef z_off_t
|
||||
# define z_off_t long
|
||||
#endif
|
||||
|
||||
#if !defined(_WIN32) && defined(Z_LARGE64)
|
||||
# define z_off64_t off64_t
|
||||
#else
|
||||
# if defined(_WIN32) && !defined(__GNUC__) && !defined(Z_SOLO)
|
||||
# define z_off64_t __int64
|
||||
# else
|
||||
# define z_off64_t z_off_t
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* MVS linker does not support external names larger than 8 bytes */
|
||||
#if defined(__MVS__)
|
||||
#pragma map(deflateInit_,"DEIN")
|
||||
#pragma map(deflateInit2_,"DEIN2")
|
||||
#pragma map(deflateEnd,"DEEND")
|
||||
#pragma map(deflateBound,"DEBND")
|
||||
#pragma map(inflateInit_,"ININ")
|
||||
#pragma map(inflateInit2_,"ININ2")
|
||||
#pragma map(inflateEnd,"INEND")
|
||||
#pragma map(inflateSync,"INSY")
|
||||
#pragma map(inflateSetDictionary,"INSEDI")
|
||||
#pragma map(compressBound,"CMBND")
|
||||
#pragma map(inflate_table,"INTABL")
|
||||
#pragma map(inflate_fast,"INFA")
|
||||
#pragma map(inflate_copyright,"INCOPY")
|
||||
#endif
|
||||
|
||||
#endif /* ZCONF_H */
|
File diff suppressed because it is too large
Load Diff
78
premake5.lua
78
premake5.lua
|
@ -1,54 +1,80 @@
|
|||
include "code/assimp_code.lua"
|
||||
include "contrib/assimp_contrib.lua"
|
||||
|
||||
outputdir = "%{cfg.buildcfg}-%{cfg.system}-%{cfg.architecture}"
|
||||
|
||||
group "Dependencies"
|
||||
include "contrib/zlib"
|
||||
include "contrib/zip"
|
||||
include "contrib/pugixml"
|
||||
include "contrib/openddlparser"
|
||||
group ""
|
||||
|
||||
workspace "Assimp Test"
|
||||
architecture "x86_64"
|
||||
|
||||
configurations
|
||||
{
|
||||
"Debug",
|
||||
"Release"
|
||||
}
|
||||
|
||||
|
||||
project "Assimp"
|
||||
kind "StaticLib"
|
||||
language "C++"
|
||||
cppdialect "C++11"
|
||||
cppdialect "C++17"
|
||||
staticruntime "off"
|
||||
warnings "off"
|
||||
|
||||
targetdir ("bin/" .. outputdir .. "/%{prj.name}")
|
||||
objdir ("bin-int/" .. outputdir .. "/%{prj.name}")
|
||||
|
||||
|
||||
files
|
||||
{
|
||||
"code/AssetLib/**.h",
|
||||
"code/AssetLib/**.cpp",
|
||||
AssimpSourceFiles,
|
||||
AssimpImporterSourceFiles,
|
||||
|
||||
"code/Common/*.h",
|
||||
"code/Common/*.cpp",
|
||||
|
||||
"code/Geometry/*.h",
|
||||
"code/Geometry/*.cpp",
|
||||
|
||||
"code/Material/*.h",
|
||||
"code/Material/*.cpp",
|
||||
|
||||
"code/Pbrt/*.h",
|
||||
"code/Pbrt/*.cpp",
|
||||
|
||||
"code/PostProcessing/*.h",
|
||||
"code/PostProcessing/*.cpp",
|
||||
|
||||
"contrib/pugixml/src/*.h",
|
||||
"contrib/pugixml/src/*.cpp",
|
||||
ContribSourceFiles
|
||||
}
|
||||
|
||||
defines
|
||||
links
|
||||
{
|
||||
#"ASSIMP_DOUBLE_PRECISION"
|
||||
"zlib",
|
||||
"zip",
|
||||
"pugixml"
|
||||
}
|
||||
|
||||
includedirs
|
||||
{
|
||||
"%{prj.location}/code",
|
||||
"%{prj.location}/include"
|
||||
"%{prj.location}/include",
|
||||
"%{prj.location}",
|
||||
|
||||
ContribIncludeDirs
|
||||
}
|
||||
|
||||
defines
|
||||
{
|
||||
--"ASSIMP_DOUBLE_PRECISION"
|
||||
"RAPIDJSON_HAS_STDSTRING"
|
||||
}
|
||||
|
||||
filter "system:linux"
|
||||
pic "On"
|
||||
systemversion "latest"
|
||||
systemversion "latest"
|
||||
|
||||
filter "system:macosx"
|
||||
pic "On"
|
||||
pic "On"
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
||||
systemversion "latest"
|
||||
|
||||
filter "configurations:Debug"
|
||||
runtime "Debug"
|
||||
symbols "on"
|
||||
|
||||
filter "configurations:Release"
|
||||
runtime "Release"
|
||||
optimize "on"
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef ASSIMP_REVISION_H_INC
|
||||
#define ASSIMP_REVISION_H_INC
|
||||
|
||||
#define GitVersion 0x77a8f019
|
||||
#define GitBranch "heads/master"
|
||||
|
||||
#define VER_MAJOR 5
|
||||
#define VER_MINOR 3
|
||||
#define VER_PATCH 0
|
||||
#define VER_BUILD 0
|
||||
|
||||
#define STR_HELP(x) #x
|
||||
#define STR(x) STR_HELP(x)
|
||||
|
||||
#define VER_FILEVERSION VER_MAJOR,VER_MINOR,VER_PATCH,VER_BUILD
|
||||
#if (GitVersion == 0)
|
||||
#define VER_FILEVERSION_STR STR(VER_MAJOR) "." STR(VER_MINOR) "." STR(VER_PATCH) "." STR(VER_BUILD)
|
||||
#else
|
||||
#define VER_FILEVERSION_STR STR(VER_MAJOR) "." STR(VER_MINOR) "." STR(VER_PATCH) "." STR(VER_BUILD) " (Commit 77a8f019)"
|
||||
#endif
|
||||
#define VER_COPYRIGHT_STR "\xA9 2006-2023"
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define VER_ORIGINAL_FILENAME_STR "assimp-vc143-mt.dll"
|
||||
#else
|
||||
#define VER_ORIGINAL_FILENAME_STR "assimp-vc143-mtd.dll"
|
||||
#endif // NDEBUG
|
||||
|
||||
#endif // ASSIMP_REVISION_H_INC
|
Loading…
Reference in New Issue