)
ADD_DEFINITIONS( -DOPENDDLPARSER_BUILD )
-ADD_DEFINITIONS( -DASSIMP_BUILD_NO_3DS_IMPORTER)
+
INCLUDE_DIRECTORIES(
${IRRXML_INCLUDE_DIR}
../contrib/openddlparser/include
virtual bool importerTest() {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/3DS/fels.3ds", 0 );
+#ifndef ASSIMP_BUILD_NO_3DS_IMPORTER
return nullptr != scene;
+#else
+ return nullptr == scene;
+#endif // ASSIMP_BUILD_NO_3DS_IMPORTER
}
};
virtual bool importerTest() {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile( ASSIMP_TEST_MODELS_DIR "/ASE/ThreeCubesGreen.ASE", 0 );
+#ifndef ASSIMP_BUILD_NO_3DS_IMPORTER
return nullptr != scene;
+#else
+ return nullptr == scene;
+#endif // ASSIMP_BUILD_NO_3DS_IMPORTER
}
};