Merge pull request #2442 from assimp/RichardTea-collada_metadata
Richard tea collada metadatapull/2418/head^2
commit
37bf09ef0b
|
@ -17,6 +17,7 @@ CMakeLists.txt.user
|
||||||
|
|
||||||
# Generated
|
# Generated
|
||||||
assimp.pc
|
assimp.pc
|
||||||
|
assimp.aps
|
||||||
revision.h
|
revision.h
|
||||||
contrib/zlib/zconf.h
|
contrib/zlib/zconf.h
|
||||||
contrib/zlib/zlib.pc
|
contrib/zlib/zlib.pc
|
||||||
|
|
|
@ -106,7 +106,7 @@ OPTION ( BUILD_DOCS
|
||||||
OFF
|
OFF
|
||||||
)
|
)
|
||||||
OPTION( INJECT_DEBUG_POSTFIX
|
OPTION( INJECT_DEBUG_POSTFIX
|
||||||
"Inject debug postfix in .a/.so lib names"
|
"Inject debug postfix in .a/.so/.dll lib names"
|
||||||
ON
|
ON
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -127,12 +127,15 @@ if (WIN32)
|
||||||
ADD_DEFINITIONS( -DWIN32_LEAN_AND_MEAN )
|
ADD_DEFINITIONS( -DWIN32_LEAN_AND_MEAN )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
IF(MSVC)
|
IF(MSVC)
|
||||||
OPTION( ASSIMP_INSTALL_PDB
|
OPTION( ASSIMP_INSTALL_PDB
|
||||||
"Install MSVC debug files."
|
"Install MSVC debug files."
|
||||||
ON
|
ON
|
||||||
)
|
)
|
||||||
|
IF(NOT (MSVC_VERSION LESS 1900))
|
||||||
|
# Multibyte character set is deprecated since at least MSVC2015 (possibly earlier)
|
||||||
|
ADD_DEFINITIONS( -DUNICODE -D_UNICODE )
|
||||||
|
ENDIF()
|
||||||
ENDIF(MSVC)
|
ENDIF(MSVC)
|
||||||
|
|
||||||
IF (BUILD_FRAMEWORK)
|
IF (BUILD_FRAMEWORK)
|
||||||
|
@ -301,7 +304,9 @@ SET( ASSIMP_INCLUDE_INSTALL_DIR "include" CACHE STRING
|
||||||
SET( ASSIMP_BIN_INSTALL_DIR "bin" CACHE STRING
|
SET( ASSIMP_BIN_INSTALL_DIR "bin" CACHE STRING
|
||||||
"Path the tool executables are installed to." )
|
"Path the tool executables are installed to." )
|
||||||
|
|
||||||
IF (CMAKE_BUILD_TYPE STREQUAL "Debug")
|
get_cmake_property(is_multi_config GENERATOR_IS_MULTI_CONFIG)
|
||||||
|
|
||||||
|
IF (is_multi_config OR (CMAKE_BUILD_TYPE STREQUAL "Debug"))
|
||||||
SET(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Debug Postfix for lib, samples and tools")
|
SET(CMAKE_DEBUG_POSTFIX "d" CACHE STRING "Debug Postfix for lib, samples and tools")
|
||||||
ELSE()
|
ELSE()
|
||||||
SET(CMAKE_DEBUG_POSTFIX "" CACHE STRING "Debug Postfix for lib, samples and tools")
|
SET(CMAKE_DEBUG_POSTFIX "" CACHE STRING "Debug Postfix for lib, samples and tools")
|
||||||
|
@ -543,11 +548,14 @@ if(WIN32)
|
||||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||||
SET(BIN_DIR "${PROJECT_SOURCE_DIR}/bin64/")
|
SET(BIN_DIR "${PROJECT_SOURCE_DIR}/bin64/")
|
||||||
SET(LIB_DIR "${PROJECT_SOURCE_DIR}/lib64/")
|
SET(LIB_DIR "${PROJECT_SOURCE_DIR}/lib64/")
|
||||||
elseif()
|
else()
|
||||||
SET(BIN_DIR "${PROJECT_SOURCE_DIR}/bin32/")
|
SET(BIN_DIR "${PROJECT_SOURCE_DIR}/bin32/")
|
||||||
SET(LIB_DIR "${PROJECT_SOURCE_DIR}/lib32/")
|
SET(LIB_DIR "${PROJECT_SOURCE_DIR}/lib32/")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
|
IF(MSVC_TOOLSET_VERSION)
|
||||||
|
set(MSVC_PREFIX "vc${MSVC_TOOLSET_VERSION}")
|
||||||
|
ELSE()
|
||||||
IF(MSVC12)
|
IF(MSVC12)
|
||||||
SET(ASSIMP_MSVC_VERSION "vc120")
|
SET(ASSIMP_MSVC_VERSION "vc120")
|
||||||
ELSEIF(MSVC14)
|
ELSEIF(MSVC14)
|
||||||
|
@ -555,6 +563,7 @@ if(WIN32)
|
||||||
ELSEIF(MSVC15)
|
ELSEIF(MSVC15)
|
||||||
SET(ASSIMP_MSVC_VERSION "vc141")
|
SET(ASSIMP_MSVC_VERSION "vc141")
|
||||||
ENDIF(MSVC12)
|
ENDIF(MSVC12)
|
||||||
|
ENDIF()
|
||||||
|
|
||||||
IF(MSVC12 OR MSVC14 OR MSVC15 )
|
IF(MSVC12 OR MSVC14 OR MSVC15 )
|
||||||
ADD_CUSTOM_TARGET(UpdateAssimpLibsDebugSymbolsAndDLLs COMMENT "Copying Assimp Libraries ..." VERBATIM)
|
ADD_CUSTOM_TARGET(UpdateAssimpLibsDebugSymbolsAndDLLs COMMENT "Copying Assimp Libraries ..." VERBATIM)
|
||||||
|
|
|
@ -53,7 +53,13 @@ build:
|
||||||
project: Assimp.sln
|
project: Assimp.sln
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" iscc packaging\windows-innosetup\script.iss
|
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" (
|
||||||
|
if "%platform%"=="x64" (
|
||||||
|
iscc packaging\windows-innosetup\script_x64.iss
|
||||||
|
) else (
|
||||||
|
iscc packaging\windows-innosetup\script_x86.iss
|
||||||
|
)
|
||||||
|
)
|
||||||
- 7z a assimp.7z bin\%CONFIGURATION%\* lib\%CONFIGURATION%\*
|
- 7z a assimp.7z bin\%CONFIGURATION%\* lib\%CONFIGURATION%\*
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
|
|
|
@ -68,7 +68,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
using namespace Assimp;
|
using namespace Assimp;
|
||||||
|
|
||||||
static const aiImporterDesc desc = {
|
static const aiImporterDesc desc = {
|
||||||
".assbin Importer",
|
"Assimp Binary Importer",
|
||||||
"Gargaj / Conspiracy",
|
"Gargaj / Conspiracy",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
|
|
@ -145,6 +145,10 @@ SET( Core_SRCS
|
||||||
Assimp.cpp
|
Assimp.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
IF(MSVC)
|
||||||
|
list(APPEND Core_SRCS "res/assimp.rc")
|
||||||
|
ENDIF(MSVC)
|
||||||
|
|
||||||
SET( Logging_SRCS
|
SET( Logging_SRCS
|
||||||
${HEADER_PATH}/DefaultLogger.hpp
|
${HEADER_PATH}/DefaultLogger.hpp
|
||||||
${HEADER_PATH}/LogStream.hpp
|
${HEADER_PATH}/LogStream.hpp
|
||||||
|
@ -1033,6 +1037,10 @@ ENDIF (ASSIMP_BUILD_NONFREE_C4D_IMPORTER)
|
||||||
|
|
||||||
if( MSVC )
|
if( MSVC )
|
||||||
# in order to prevent DLL hell, each of the DLLs have to be suffixed with the major version and msvc prefix
|
# in order to prevent DLL hell, each of the DLLs have to be suffixed with the major version and msvc prefix
|
||||||
|
# CMake 3.12 added a variable for this
|
||||||
|
if(MSVC_TOOLSET_VERSION)
|
||||||
|
set(MSVC_PREFIX "vc${MSVC_TOOLSET_VERSION}")
|
||||||
|
else()
|
||||||
if( MSVC70 OR MSVC71 )
|
if( MSVC70 OR MSVC71 )
|
||||||
set(MSVC_PREFIX "vc70")
|
set(MSVC_PREFIX "vc70")
|
||||||
elseif( MSVC80 )
|
elseif( MSVC80 )
|
||||||
|
@ -1047,9 +1055,12 @@ if( MSVC )
|
||||||
set(MSVC_PREFIX "vc120")
|
set(MSVC_PREFIX "vc120")
|
||||||
elseif( MSVC14 )
|
elseif( MSVC14 )
|
||||||
set(MSVC_PREFIX "vc140")
|
set(MSVC_PREFIX "vc140")
|
||||||
|
elseif( MSVC15 )
|
||||||
|
set(MSVC_PREFIX "vc141")
|
||||||
else()
|
else()
|
||||||
set(MSVC_PREFIX "vc150")
|
set(MSVC_PREFIX "vc150")
|
||||||
endif()
|
endif()
|
||||||
|
endif()
|
||||||
set(LIBRARY_SUFFIX "${ASSIMP_LIBRARY_SUFFIX}-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library")
|
set(LIBRARY_SUFFIX "${ASSIMP_LIBRARY_SUFFIX}-${MSVC_PREFIX}-mt" CACHE STRING "the suffix for the assimp windows library")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,11 @@ void ColladaExporter::WriteHeader()
|
||||||
mOutput << startstr << "<contributor>" << endstr;
|
mOutput << startstr << "<contributor>" << endstr;
|
||||||
PushTag();
|
PushTag();
|
||||||
|
|
||||||
aiMetadata* meta = mScene->mRootNode->mMetaData;
|
// If no Scene metadata, use root node metadata
|
||||||
|
aiMetadata* meta = mScene->mMetaData;
|
||||||
|
if (!meta)
|
||||||
|
meta = mScene->mRootNode->mMetaData;
|
||||||
|
|
||||||
aiString value;
|
aiString value;
|
||||||
if (!meta || !meta->Get("Author", value))
|
if (!meta || !meta->Get("Author", value))
|
||||||
mOutput << startstr << "<author>" << "Assimp" << "</author>" << endstr;
|
mOutput << startstr << "<author>" << "Assimp" << "</author>" << endstr;
|
||||||
|
@ -250,13 +254,39 @@ void ColladaExporter::WriteHeader()
|
||||||
else
|
else
|
||||||
mOutput << startstr << "<authoring_tool>" << XMLEscape(value.C_Str()) << "</authoring_tool>" << endstr;
|
mOutput << startstr << "<authoring_tool>" << XMLEscape(value.C_Str()) << "</authoring_tool>" << endstr;
|
||||||
|
|
||||||
//mOutput << startstr << "<author>" << mScene->author.C_Str() << "</author>" << endstr;
|
if (meta)
|
||||||
//mOutput << startstr << "<authoring_tool>" << mScene->authoringTool.C_Str() << "</authoring_tool>" << endstr;
|
{
|
||||||
|
if (meta->Get("Comments", value))
|
||||||
|
mOutput << startstr << "<comments>" << XMLEscape(value.C_Str()) << "</comments>" << endstr;
|
||||||
|
if (meta->Get("Copyright", value))
|
||||||
|
mOutput << startstr << "<copyright>" << XMLEscape(value.C_Str()) << "</copyright>" << endstr;
|
||||||
|
if (meta->Get("SourceData", value))
|
||||||
|
mOutput << startstr << "<source_data>" << XMLEscape(value.C_Str()) << "</source_data>" << endstr;
|
||||||
|
}
|
||||||
|
|
||||||
PopTag();
|
PopTag();
|
||||||
mOutput << startstr << "</contributor>" << endstr;
|
mOutput << startstr << "</contributor>" << endstr;
|
||||||
|
|
||||||
|
if (!meta || !meta->Get("Created", value))
|
||||||
mOutput << startstr << "<created>" << date_str << "</created>" << endstr;
|
mOutput << startstr << "<created>" << date_str << "</created>" << endstr;
|
||||||
|
else
|
||||||
|
mOutput << startstr << "<created>" << XMLEscape(value.C_Str()) << "</created>" << endstr;
|
||||||
|
|
||||||
|
// Modified date is always the date saved
|
||||||
mOutput << startstr << "<modified>" << date_str << "</modified>" << endstr;
|
mOutput << startstr << "<modified>" << date_str << "</modified>" << endstr;
|
||||||
|
|
||||||
|
if (meta)
|
||||||
|
{
|
||||||
|
if (meta->Get("Keywords", value))
|
||||||
|
mOutput << startstr << "<keywords>" << XMLEscape(value.C_Str()) << "</keywords>" << endstr;
|
||||||
|
if (meta->Get("Revision", value))
|
||||||
|
mOutput << startstr << "<revision>" << XMLEscape(value.C_Str()) << "</revision>" << endstr;
|
||||||
|
if (meta->Get("Subject", value))
|
||||||
|
mOutput << startstr << "<subject>" << XMLEscape(value.C_Str()) << "</subject>" << endstr;
|
||||||
|
if (meta->Get("Title", value))
|
||||||
|
mOutput << startstr << "<title>" << XMLEscape(value.C_Str()) << "</title>" << endstr;
|
||||||
|
}
|
||||||
|
|
||||||
mOutput << startstr << "<unit name=\"meter\" meter=\"" << scale << "\" />" << endstr;
|
mOutput << startstr << "<unit name=\"meter\" meter=\"" << scale << "\" />" << endstr;
|
||||||
mOutput << startstr << "<up_axis>" << up_axis << "</up_axis>" << endstr;
|
mOutput << startstr << "<up_axis>" << up_axis << "</up_axis>" << endstr;
|
||||||
PopTag();
|
PopTag();
|
||||||
|
|
|
@ -207,6 +207,17 @@ void ColladaLoader::InternReadFile( const std::string& pFile, aiScene* pScene, I
|
||||||
0, 0, 0, 1);
|
0, 0, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Store scene metadata
|
||||||
|
if (!parser.mAssetMetaData.empty()) {
|
||||||
|
const size_t numMeta(parser.mAssetMetaData.size());
|
||||||
|
pScene->mMetaData = aiMetadata::Alloc(static_cast<unsigned int>(numMeta));
|
||||||
|
size_t i = 0;
|
||||||
|
for (auto it = parser.mAssetMetaData.cbegin(); it != parser.mAssetMetaData.cend(); ++it, ++i)
|
||||||
|
{
|
||||||
|
pScene->mMetaData->Set(static_cast<unsigned int>(i), (*it).first, (*it).second);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// store all meshes
|
// store all meshes
|
||||||
StoreSceneMeshes( pScene);
|
StoreSceneMeshes( pScene);
|
||||||
|
|
||||||
|
|
|
@ -264,9 +264,14 @@ void ColladaParser::ReadAssetInfo()
|
||||||
|
|
||||||
// check element end
|
// check element end
|
||||||
TestClosing( "up_axis");
|
TestClosing( "up_axis");
|
||||||
} else
|
}
|
||||||
|
else if(IsElement("contributor"))
|
||||||
{
|
{
|
||||||
SkipElement();
|
ReadContributorInfo();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ReadMetaDataItem(mAssetMetaData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if( mReader->getNodeType() == irr::io::EXN_ELEMENT_END)
|
else if( mReader->getNodeType() == irr::io::EXN_ELEMENT_END)
|
||||||
|
@ -279,6 +284,75 @@ void ColladaParser::ReadAssetInfo()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
// Reads the contributor info
|
||||||
|
void ColladaParser::ReadContributorInfo()
|
||||||
|
{
|
||||||
|
if (mReader->isEmptyElement())
|
||||||
|
return;
|
||||||
|
|
||||||
|
while (mReader->read())
|
||||||
|
{
|
||||||
|
if (mReader->getNodeType() == irr::io::EXN_ELEMENT)
|
||||||
|
{
|
||||||
|
ReadMetaDataItem(mAssetMetaData);
|
||||||
|
}
|
||||||
|
else if (mReader->getNodeType() == irr::io::EXN_ELEMENT_END)
|
||||||
|
{
|
||||||
|
if (strcmp(mReader->getNodeName(), "contributor") != 0)
|
||||||
|
ThrowException("Expected end of <contributor> element.");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
// Reads a single string metadata item
|
||||||
|
void ColladaParser::ReadMetaDataItem(StringMetaData &metadata)
|
||||||
|
{
|
||||||
|
// Metadata such as created, keywords, subject etc
|
||||||
|
const char* key_char = mReader->getNodeName();
|
||||||
|
if (key_char != nullptr)
|
||||||
|
{
|
||||||
|
const std::string key_str(key_char);
|
||||||
|
const char* value_char = TestTextContent();
|
||||||
|
if (value_char != nullptr)
|
||||||
|
{
|
||||||
|
std::string camel_key_str = key_str;
|
||||||
|
ToCamelCase(camel_key_str);
|
||||||
|
aiString aistr;
|
||||||
|
aistr.Set(value_char);
|
||||||
|
metadata.emplace(camel_key_str, aistr);
|
||||||
|
TestClosing(key_str.c_str());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
SkipElement();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
SkipElement();
|
||||||
|
}
|
||||||
|
|
||||||
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
// Convert underscore_seperated to CamelCase: "authoring_tool" becomes "AuthoringTool"
|
||||||
|
void ColladaParser::ToCamelCase(std::string &text)
|
||||||
|
{
|
||||||
|
if (text.empty())
|
||||||
|
return;
|
||||||
|
// Capitalise first character
|
||||||
|
text[0] = ToUpper(text[0]);
|
||||||
|
for (auto it = text.begin(); it != text.end(); /*iterated below*/)
|
||||||
|
{
|
||||||
|
if ((*it) == '_')
|
||||||
|
{
|
||||||
|
it = text.erase(it);
|
||||||
|
if (it != text.end())
|
||||||
|
(*it) = ToUpper(*it);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
++it;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
// Reads the animation clips
|
// Reads the animation clips
|
||||||
void ColladaParser::ReadAnimationClipLibrary()
|
void ColladaParser::ReadAnimationClipLibrary()
|
||||||
|
|
|
@ -66,6 +66,9 @@ namespace Assimp
|
||||||
friend class ColladaLoader;
|
friend class ColladaLoader;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
/** Map for generic metadata as aiString */
|
||||||
|
typedef std::map<std::string, aiString> StringMetaData;
|
||||||
|
|
||||||
/** Constructor from XML file */
|
/** Constructor from XML file */
|
||||||
ColladaParser( IOSystem* pIOHandler, const std::string& pFile);
|
ColladaParser( IOSystem* pIOHandler, const std::string& pFile);
|
||||||
|
|
||||||
|
@ -81,6 +84,15 @@ namespace Assimp
|
||||||
/** Reads asset information such as coordinate system information and legal blah */
|
/** Reads asset information such as coordinate system information and legal blah */
|
||||||
void ReadAssetInfo();
|
void ReadAssetInfo();
|
||||||
|
|
||||||
|
/** Reads contributor information such as author and legal blah */
|
||||||
|
void ReadContributorInfo();
|
||||||
|
|
||||||
|
/** Reads generic metadata into provided map */
|
||||||
|
void ReadMetaDataItem(StringMetaData &metadata);
|
||||||
|
|
||||||
|
/** Convert underscore_seperated to CamelCase "authoring_tool" becomes "AuthoringTool" */
|
||||||
|
static void ToCamelCase(std::string &text);
|
||||||
|
|
||||||
/** Reads the animation library */
|
/** Reads the animation library */
|
||||||
void ReadAnimationLibrary();
|
void ReadAnimationLibrary();
|
||||||
|
|
||||||
|
@ -343,6 +355,9 @@ namespace Assimp
|
||||||
/** Which is the up vector */
|
/** Which is the up vector */
|
||||||
enum { UP_X, UP_Y, UP_Z } mUpDirection;
|
enum { UP_X, UP_Y, UP_Z } mUpDirection;
|
||||||
|
|
||||||
|
/** Asset metadata (global for scene) */
|
||||||
|
StringMetaData mAssetMetaData;
|
||||||
|
|
||||||
/** Collada file format version */
|
/** Collada file format version */
|
||||||
Collada::FormatVersion mFormat;
|
Collada::FormatVersion mFormat;
|
||||||
};
|
};
|
||||||
|
|
|
@ -288,7 +288,7 @@ void Exporter::SetProgressHandler(ProgressHandler* pHandler) {
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
const aiExportDataBlob* Exporter::ExportToBlob( const aiScene* pScene, const char* pFormatId,
|
const aiExportDataBlob* Exporter::ExportToBlob( const aiScene* pScene, const char* pFormatId,
|
||||||
unsigned int, const ExportProperties* /*pProperties*/ ) {
|
unsigned int pPreprocessing, const ExportProperties* pProperties) {
|
||||||
if (pimpl->blob) {
|
if (pimpl->blob) {
|
||||||
delete pimpl->blob;
|
delete pimpl->blob;
|
||||||
pimpl->blob = nullptr;
|
pimpl->blob = nullptr;
|
||||||
|
@ -298,7 +298,7 @@ const aiExportDataBlob* Exporter::ExportToBlob( const aiScene* pScene, const cha
|
||||||
BlobIOSystem* blobio = new BlobIOSystem();
|
BlobIOSystem* blobio = new BlobIOSystem();
|
||||||
pimpl->mIOSystem = std::shared_ptr<IOSystem>( blobio );
|
pimpl->mIOSystem = std::shared_ptr<IOSystem>( blobio );
|
||||||
|
|
||||||
if (AI_SUCCESS != Export(pScene,pFormatId,blobio->GetMagicFileName())) {
|
if (AI_SUCCESS != Export(pScene,pFormatId,blobio->GetMagicFileName(), pPreprocessing, pProperties)) {
|
||||||
pimpl->mIOSystem = old;
|
pimpl->mIOSystem = old;
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,8 +31,8 @@ LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
|
||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 1,1,SVNRevision, 0
|
FILEVERSION VER_FILEVERSION
|
||||||
PRODUCTVERSION 1,1,SVNRevision,0
|
PRODUCTVERSION VER_FILEVERSION
|
||||||
FILEFLAGSMASK 0x17L
|
FILEFLAGSMASK 0x17L
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
|
@ -50,12 +50,12 @@ BEGIN
|
||||||
VALUE "Comments", "Licensed under a 3-clause BSD license"
|
VALUE "Comments", "Licensed under a 3-clause BSD license"
|
||||||
VALUE "CompanyName", "assimp team"
|
VALUE "CompanyName", "assimp team"
|
||||||
VALUE "FileDescription", "Open Asset Import Library"
|
VALUE "FileDescription", "Open Asset Import Library"
|
||||||
VALUE "FileVersion", 1,1,SVNRevision,0
|
VALUE "FileVersion", VER_FILEVERSION
|
||||||
VALUE "InternalName", "assimp "
|
VALUE "InternalName", "assimp "
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2006-2010"
|
VALUE "LegalCopyright", "Copyright (C) 2006-2010"
|
||||||
VALUE "OriginalFilename", "assimpNN.dll"
|
VALUE "OriginalFilename", "assimpNN.dll"
|
||||||
VALUE "ProductName", "Open Asset Import Library"
|
VALUE "ProductName", "Open Asset Import Library"
|
||||||
VALUE "ProductVersion", 1,1,SVNRevision,0
|
VALUE "ProductVersion", VER_FILEVERSION_STR
|
||||||
,0
|
,0
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
|
@ -190,7 +190,7 @@ public:
|
||||||
* @note Use aiCopyScene() to get a modifiable copy of a previously
|
* @note Use aiCopyScene() to get a modifiable copy of a previously
|
||||||
* imported scene. */
|
* imported scene. */
|
||||||
const aiExportDataBlob* ExportToBlob(const aiScene* pScene, const char* pFormatId,
|
const aiExportDataBlob* ExportToBlob(const aiScene* pScene, const char* pFormatId,
|
||||||
unsigned int pPreprocessing = 0u, const ExportProperties* = nullptr);
|
unsigned int pPreprocessing = 0u, const ExportProperties* pProperties = nullptr);
|
||||||
const aiExportDataBlob* ExportToBlob( const aiScene* pScene, const std::string& pFormatId,
|
const aiExportDataBlob* ExportToBlob( const aiScene* pScene, const std::string& pFormatId,
|
||||||
unsigned int pPreprocessing = 0u, const ExportProperties* pProperties = nullptr);
|
unsigned int pPreprocessing = 0u, const ExportProperties* pProperties = nullptr);
|
||||||
|
|
||||||
|
|
|
@ -1,103 +0,0 @@
|
||||||
; Setup script for use with Inno Setup.
|
|
||||||
|
|
||||||
[Setup]
|
|
||||||
AppName=Open Asset Import Library - SDK
|
|
||||||
AppVerName=Open Asset Import Library - SDK (v4.1.0)
|
|
||||||
DefaultDirName={pf}\Assimp
|
|
||||||
DefaultGroupName=Assimp
|
|
||||||
UninstallDisplayIcon={app}\bin\x86\assimp.exe
|
|
||||||
OutputDir=out
|
|
||||||
AppCopyright=Assimp Development Team
|
|
||||||
SetupIconFile=..\..\tools\shared\assimp_tools_icon.ico
|
|
||||||
WizardImageFile=compiler:WizModernImage-IS.BMP
|
|
||||||
WizardSmallImageFile=compiler:WizModernSmallImage-IS.BMP
|
|
||||||
LicenseFile=License.rtf
|
|
||||||
OutputBaseFileName=assimp-sdk-4.1.0-setup
|
|
||||||
VersionInfoVersion=4.1.0.0
|
|
||||||
VersionInfoTextVersion=4.1.0
|
|
||||||
VersionInfoCompany=Assimp Development Team
|
|
||||||
ArchitecturesInstallIn64BitMode=x64
|
|
||||||
|
|
||||||
[Types]
|
|
||||||
Name: "full"; Description: "Full installation"
|
|
||||||
Name: "compact"; Description: "Compact installation, no test models or language bindings"
|
|
||||||
Name: "custom"; Description: "Custom installation"; Flags: iscustom
|
|
||||||
|
|
||||||
[Components]
|
|
||||||
Name: "main"; Description: "Main Files (32 and 64 Bit)"; Types: full compact custom; Flags: fixed
|
|
||||||
Name: "tools"; Description: "Asset Viewer & Command Line Tools (32 and 64 Bit)"; Types: full compact
|
|
||||||
Name: "help"; Description: "Help Files"; Types: full compact
|
|
||||||
Name: "samples"; Description: "Samples"; Types: full
|
|
||||||
Name: "test"; Description: "Test Models (BSD-licensed)"; Types: full
|
|
||||||
Name: "test_nonbsd"; Description: "Test Models (other (free) licenses)"; Types: full
|
|
||||||
;Name: "pyassimp"; Description: "Python Bindings"; Types: full
|
|
||||||
;Name: "dassimp"; Description: "D Bindings"; Types: full
|
|
||||||
;Name: "assimp_net"; Description: "C#/.NET Bindings"; Types: full
|
|
||||||
|
|
||||||
[Run]
|
|
||||||
;Filename: "{app}\stub\vc_redist.x86.exe"; Parameters: "/qb"; StatusMsg: "Installing VS2017 redistributable package (32 Bit)"; Check: not IsWin64
|
|
||||||
Filename: "{app}\stub\vc_redist.x64.exe"; Parameters: "/qb"; StatusMsg: "Installing VS2017 redistributable package (64 Bit)"; Check: IsWin64
|
|
||||||
|
|
||||||
[Files]
|
|
||||||
Source: "readme_installer.txt"; DestDir: "{app}"; Flags: isreadme
|
|
||||||
|
|
||||||
; Installer stub
|
|
||||||
;Source: "vc_redist.x86.exe"; DestDir: "{app}\stub\"; Check: not IsWin64
|
|
||||||
Source: "vc_redist.x64.exe"; DestDir: "{app}\stub\"; Check: IsWin64
|
|
||||||
|
|
||||||
; Common stuff
|
|
||||||
Source: "..\..\CREDITS"; DestDir: "{app}"
|
|
||||||
Source: "..\..\LICENSE"; DestDir: "{app}"
|
|
||||||
Source: "..\..\README"; DestDir: "{app}"
|
|
||||||
Source: "WEB"; DestDir: "{app}"
|
|
||||||
|
|
||||||
Source: "..\..\scripts\*"; DestDir: "{app}\scripts"; Flags: recursesubdirs
|
|
||||||
|
|
||||||
; x86 binaries
|
|
||||||
;Source: "..\..\bin\release\x86\assimp-vc140-mt.dll"; DestDir: "{app}\bin\x86"
|
|
||||||
;Source: "..\..\bin\release\x86\assimp_viewer.exe"; DestDir: "{app}\bin\x86"; Components: tools
|
|
||||||
;Source: "C:\Windows\SysWOW64\D3DCompiler_42.dll"; DestDir: "{app}\bin\x86"; Components: tools
|
|
||||||
;Source: "C:\Windows\SysWOW64\D3DX9_42.dll"; DestDir: "{app}\bin\x86"; Components: tools
|
|
||||||
;Source: "..\..\bin\release\x86\assimp.exe"; DestDir: "{app}\bin\x86"; Components: tools
|
|
||||||
|
|
||||||
; x64 binaries
|
|
||||||
Source: "..\..\bin\release\assimp-vc140-mt.dll"; DestDir: "{app}\bin\x64"
|
|
||||||
Source: "..\..\bin\release\assimp_viewer.exe"; DestDir: "{app}\bin\x64"; Components: tools
|
|
||||||
Source: "C:\Windows\SysWOW64\D3DCompiler_42.dll"; DestDir: "{app}\bin\x64"; DestName: "D3DCompiler_42.dll"; Components: tools
|
|
||||||
Source: "C:\Windows\SysWOW64\D3DX9_42.dll"; DestDir: "{app}\bin\x64"; DestName: "D3DX9_42.dll"; Components: tools
|
|
||||||
Source: "..\..\bin\release\assimp.exe"; DestDir: "{app}\bin\x64"; Components: tools
|
|
||||||
|
|
||||||
; Documentation
|
|
||||||
;Source: "..\..\doc\AssimpDoc_Html\AssimpDoc.chm"; DestDir: "{app}\doc"; Components: help
|
|
||||||
;Source: "..\..\doc\AssimpCmdDoc_Html\AssimpCmdDoc.chm"; DestDir: "{app}\doc"; Components: help
|
|
||||||
;Source: "..\..\doc\datastructure.xml"; DestDir: "{app}\doc"; Components: help
|
|
||||||
|
|
||||||
; Import libraries
|
|
||||||
;Source: "..\..\lib\release\x86\assimp.lib"; DestDir: "{app}\lib\x86"
|
|
||||||
Source: "..\..\lib\release\assimp-vc140-mt.lib"; DestDir: "{app}\lib\x64"
|
|
||||||
|
|
||||||
; Samples
|
|
||||||
Source: "..\..\samples\*"; DestDir: "{app}\samples"; Flags: recursesubdirs; Components: samples
|
|
||||||
|
|
||||||
; Include files
|
|
||||||
Source: "..\..\include\*"; DestDir: "{app}\include"; Flags: recursesubdirs
|
|
||||||
|
|
||||||
; dAssimp
|
|
||||||
;Source: "..\..\port\dAssimp\*"; DestDir: "{app}\port\D"; Flags: recursesubdirs; Components: dassimp
|
|
||||||
|
|
||||||
; Assimp.NET
|
|
||||||
;Source: "..\..\port\Assimp.NET\*"; DestDir: "{app}\port\C#"; Flags: recursesubdirs; Components: assimp_net
|
|
||||||
|
|
||||||
; PyAssimp
|
|
||||||
;Source: "..\..\port\PyAssimp\*"; DestDir: "{app}\port\Python"; Excludes: "*.pyc,*.dll"; Flags: recursesubdirs; Components: pyassimp
|
|
||||||
|
|
||||||
; Test repository
|
|
||||||
;Source: "..\..\test\models\*"; DestDir: "{app}\test\models"; Flags: recursesubdirs; Components: test
|
|
||||||
;Source: "..\..\test\regression\*"; DestDir: "{app}\test\regression"; Flags: recursesubdirs; Components: test
|
|
||||||
;Source: "..\..\test\models-nonbsd\*"; DestDir: "{app}\test\models-nonbsd"; Flags: recursesubdirs; Components: test_nonbsd
|
|
||||||
|
|
||||||
[Icons]
|
|
||||||
Name: "{group}\Assimp Manual"; Filename: "{app}\doc\AssimpDoc.chm" ; Components: help
|
|
||||||
Name: "{group}\Assimp Command Line Manual"; Filename: "{app}\doc\AssimpCmdDoc.chm"; Components: help
|
|
||||||
Name: "{group}\AssimpView"; Filename: "{app}\bin\x64\assimp_view.exe"; Components: tools; Check: IsWin64
|
|
||||||
Name: "{group}\AssimpView"; Filename: "{app}\bin\x86\assimp_view.exe"; Components: tools; Check: not IsWin64
|
|
|
@ -0,0 +1,71 @@
|
||||||
|
; Setup script for use with Inno Setup.
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
AppName=Open Asset Import Library - SDK
|
||||||
|
AppVerName=Open Asset Import Library - SDK (v4.1.0)
|
||||||
|
DefaultDirName={pf}\Assimp
|
||||||
|
DefaultGroupName=Assimp
|
||||||
|
UninstallDisplayIcon={app}\bin\x86\assimp.exe
|
||||||
|
OutputDir=out
|
||||||
|
AppCopyright=Assimp Development Team
|
||||||
|
SetupIconFile=..\..\tools\shared\assimp_tools_icon.ico
|
||||||
|
WizardImageFile=compiler:WizModernImage-IS.BMP
|
||||||
|
WizardSmallImageFile=compiler:WizModernSmallImage-IS.BMP
|
||||||
|
LicenseFile=License.rtf
|
||||||
|
OutputBaseFileName=assimp-sdk-4.1.0-setup
|
||||||
|
VersionInfoVersion=4.1.0.0
|
||||||
|
VersionInfoTextVersion=4.1.0
|
||||||
|
VersionInfoCompany=Assimp Development Team
|
||||||
|
ArchitecturesInstallIn64BitMode=x64
|
||||||
|
|
||||||
|
[Types]
|
||||||
|
Name: "full"; Description: "Full installation"
|
||||||
|
Name: "compact"; Description: "Compact installation, no test models or language bindings"
|
||||||
|
Name: "custom"; Description: "Custom installation"; Flags: iscustom
|
||||||
|
|
||||||
|
[Components]
|
||||||
|
Name: "main"; Description: "Main Files ( 64 Bit )"; Types: full compact custom; Flags: fixed
|
||||||
|
Name: "tools"; Description: "Asset Viewer & Command Line Tools (32 and 64 Bit)"; Types: full compact
|
||||||
|
Name: "help"; Description: "Help Files"; Types: full compact
|
||||||
|
Name: "samples"; Description: "Samples"; Types: full
|
||||||
|
Name: "test"; Description: "Test Models (BSD-licensed)"; Types: full
|
||||||
|
Name: "test_nonbsd"; Description: "Test Models (other (free) licenses)"; Types: full
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\stub\vc_redist.x64.exe"; Parameters: "/qb"; StatusMsg: "Installing VS2017 redistributable package (64 Bit)"; Check: IsWin64
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "readme_installer.txt"; DestDir: "{app}"; Flags: isreadme
|
||||||
|
|
||||||
|
; Installer stub
|
||||||
|
Source: "vc_redist.x64.exe"; DestDir: "{app}\stub\"; Check: IsWin64
|
||||||
|
|
||||||
|
; Common stuff
|
||||||
|
Source: "..\..\CREDITS"; DestDir: "{app}"
|
||||||
|
Source: "..\..\LICENSE"; DestDir: "{app}"
|
||||||
|
Source: "..\..\README"; DestDir: "{app}"
|
||||||
|
Source: "WEB"; DestDir: "{app}"
|
||||||
|
|
||||||
|
Source: "..\..\scripts\*"; DestDir: "{app}\scripts"; Flags: recursesubdirs
|
||||||
|
|
||||||
|
; x64 binaries
|
||||||
|
Source: "..\..\bin\release\assimp-vc141-mt.dll"; DestDir: "{app}\bin\x64"
|
||||||
|
Source: "..\..\bin\release\assimp_viewer.exe"; DestDir: "{app}\bin\x64"; Components: tools
|
||||||
|
Source: "C:\Windows\SysWOW64\D3DCompiler_42.dll"; DestDir: "{app}\bin\x64"; DestName: "D3DCompiler_42.dll"; Components: tools
|
||||||
|
Source: "C:\Windows\SysWOW64\D3DX9_42.dll"; DestDir: "{app}\bin\x64"; DestName: "D3DX9_42.dll"; Components: tools
|
||||||
|
Source: "..\..\bin\release\assimp.exe"; DestDir: "{app}\bin\x64"; Components: tools
|
||||||
|
|
||||||
|
; Import libraries
|
||||||
|
Source: "..\..\lib\release\assimp-vc141-mt.lib"; DestDir: "{app}\lib\x64"
|
||||||
|
|
||||||
|
; Samples
|
||||||
|
Source: "..\..\samples\*"; DestDir: "{app}\samples"; Flags: recursesubdirs; Components: samples
|
||||||
|
|
||||||
|
; Include files
|
||||||
|
Source: "..\..\include\*"; DestDir: "{app}\include"; Flags: recursesubdirs
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
; Name: "{group}\Assimp Manual"; Filename: "{app}\doc\AssimpDoc.chm" ; Components: help
|
||||||
|
; Name: "{group}\Assimp Command Line Manual"; Filename: "{app}\doc\AssimpCmdDoc.chm"; Components: help
|
||||||
|
; Name: "{group}\AssimpView"; Filename: "{app}\bin\x64\assimp_view.exe"; Components: tools; Check: IsWin64
|
||||||
|
; Name: "{group}\AssimpView"; Filename: "{app}\bin\x86\assimp_view.exe"; Components: tools; Check: not IsWin64
|
|
@ -0,0 +1,72 @@
|
||||||
|
; Setup script for use with Inno Setup.
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
AppName=Open Asset Import Library - SDK
|
||||||
|
AppVerName=Open Asset Import Library - SDK (v4.1.0)
|
||||||
|
DefaultDirName={pf}\Assimp
|
||||||
|
DefaultGroupName=Assimp
|
||||||
|
UninstallDisplayIcon={app}\bin\x86\assimp.exe
|
||||||
|
OutputDir=out
|
||||||
|
AppCopyright=Assimp Development Team
|
||||||
|
SetupIconFile=..\..\tools\shared\assimp_tools_icon.ico
|
||||||
|
WizardImageFile=compiler:WizModernImage-IS.BMP
|
||||||
|
WizardSmallImageFile=compiler:WizModernSmallImage-IS.BMP
|
||||||
|
LicenseFile=License.rtf
|
||||||
|
OutputBaseFileName=assimp-sdk-4.1.0-setup
|
||||||
|
VersionInfoVersion=4.1.0.0
|
||||||
|
VersionInfoTextVersion=4.1.0
|
||||||
|
VersionInfoCompany=Assimp Development Team
|
||||||
|
ArchitecturesInstallIn64BitMode=x64
|
||||||
|
|
||||||
|
[Types]
|
||||||
|
Name: "full"; Description: "Full installation"
|
||||||
|
Name: "compact"; Description: "Compact installation, no test models or language bindings"
|
||||||
|
Name: "custom"; Description: "Custom installation"; Flags: iscustom
|
||||||
|
|
||||||
|
[Components]
|
||||||
|
Name: "main"; Description: "Main Files (32 and 64 Bit)"; Types: full compact custom; Flags: fixed
|
||||||
|
Name: "tools"; Description: "Asset Viewer & Command Line Tools (32 and 64 Bit)"; Types: full compact
|
||||||
|
Name: "help"; Description: "Help Files"; Types: full compact
|
||||||
|
Name: "samples"; Description: "Samples"; Types: full
|
||||||
|
Name: "test"; Description: "Test Models (BSD-licensed)"; Types: full
|
||||||
|
Name: "test_nonbsd"; Description: "Test Models (other (free) licenses)"; Types: full
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\stub\vc_redist.x86.exe"; Parameters: "/qb"; StatusMsg: "Installing VS2017 redistributable package (32 Bit)"; Check: not IsWin64
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "readme_installer.txt"; DestDir: "{app}"; Flags: isreadme
|
||||||
|
|
||||||
|
; Installer stub
|
||||||
|
Source: "vc_redist.x86.exe"; DestDir: "{app}\stub\"; Check: not IsWin64
|
||||||
|
|
||||||
|
; Common stuff
|
||||||
|
Source: "..\..\CREDITS"; DestDir: "{app}"
|
||||||
|
Source: "..\..\LICENSE"; DestDir: "{app}"
|
||||||
|
Source: "..\..\README"; DestDir: "{app}"
|
||||||
|
Source: "WEB"; DestDir: "{app}"
|
||||||
|
|
||||||
|
Source: "..\..\scripts\*"; DestDir: "{app}\scripts"; Flags: recursesubdirs
|
||||||
|
|
||||||
|
; x86 binaries
|
||||||
|
Source: "..\..\bin\release\assimp-vc141-mt.dll"; DestDir: "{app}\bin\x86"
|
||||||
|
Source: "..\..\bin\release\assimp_viewer.exe"; DestDir: "{app}\bin\x86"; Components: tools
|
||||||
|
Source: "C:\Windows\SysWOW64\D3DCompiler_42.dll"; DestDir: "{app}\bin\x86"; Components: tools
|
||||||
|
Source: "C:\Windows\SysWOW64\D3DX9_42.dll"; DestDir: "{app}\bin\x86"; Components: tools
|
||||||
|
Source: "..\..\bin\release\assimp.exe"; DestDir: "{app}\bin\x86"; Components: tools
|
||||||
|
|
||||||
|
|
||||||
|
; Import libraries
|
||||||
|
Source: "..\..\lib\release\assimp-vc141-mt.lib"; DestDir: "{app}\lib\x86"
|
||||||
|
|
||||||
|
; Samples
|
||||||
|
Source: "..\..\samples\*"; DestDir: "{app}\samples"; Flags: recursesubdirs; Components: samples
|
||||||
|
|
||||||
|
; Include files
|
||||||
|
Source: "..\..\include\*"; DestDir: "{app}\include"; Flags: recursesubdirs
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
; Name: "{group}\Assimp Manual"; Filename: "{app}\doc\AssimpDoc.chm" ; Components: help
|
||||||
|
; Name: "{group}\Assimp Command Line Manual"; Filename: "{app}\doc\AssimpCmdDoc.chm"; Components: help
|
||||||
|
; Name: "{group}\AssimpView"; Filename: "{app}\bin\x64\assimp_view.exe"; Components: tools; Check: IsWin64
|
||||||
|
; Name: "{group}\AssimpView"; Filename: "{app}\bin\x86\assimp_view.exe"; Components: tools; Check: not IsWin64
|
|
@ -4,4 +4,15 @@
|
||||||
#define GitVersion 0x@GIT_COMMIT_HASH@
|
#define GitVersion 0x@GIT_COMMIT_HASH@
|
||||||
#define GitBranch "@GIT_BRANCH@"
|
#define GitBranch "@GIT_BRANCH@"
|
||||||
|
|
||||||
|
#define VER_MAJOR @ASSIMP_VERSION_MAJOR@
|
||||||
|
#define VER_MINOR @ASSIMP_VERSION_MINOR@
|
||||||
|
#define VER_PATCH @ASSIMP_VERSION_PATCH@
|
||||||
|
#define VER_BUILD @ASSIMP_PACKAGE_VERSION@
|
||||||
|
|
||||||
|
#define STR_HELP(x) #x
|
||||||
|
#define STR(x) STR_HELP(x)
|
||||||
|
|
||||||
|
#define VER_FILEVERSION VER_MAJOR,VER_MINOR,VER_PATCH,VER_BUILD
|
||||||
|
#define VER_FILEVERSION_STR STR(VER_MAJOR) "." STR(VER_MINOR) "." STR(VER_PATCH) "." STR(VER_BUILD)
|
||||||
|
|
||||||
#endif // ASSIMP_REVISION_H_INC
|
#endif // ASSIMP_REVISION_H_INC
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
set(PROJECT_VERSION "")
|
set(PROJECT_VERSION "")
|
||||||
project(assimp_qt_viewer)
|
project(assimp_qt_viewer)
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.0)
|
# Qt5 requires cmake 3.1 or newer
|
||||||
|
cmake_minimum_required(VERSION 3.1)
|
||||||
|
|
||||||
FIND_PACKAGE(OpenGL QUIET)
|
FIND_PACKAGE(OpenGL QUIET)
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,8 @@ SET_PROPERTY(TARGET assimp_viewer PROPERTY DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX})
|
||||||
IF ( MSVC )
|
IF ( MSVC )
|
||||||
ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
|
ADD_DEFINITIONS( -D_SCL_SECURE_NO_WARNINGS )
|
||||||
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
|
ADD_DEFINITIONS( -D_CRT_SECURE_NO_WARNINGS )
|
||||||
|
# assimp_viewer is ANSI (MBCS) throughout
|
||||||
|
REMOVE_DEFINITIONS( -DUNICODE -D_UNICODE )
|
||||||
ENDIF ( MSVC )
|
ENDIF ( MSVC )
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue