GLTFImporter: exclude headers from build whem no_glft_importer is
defined.pull/1302/head
parent
1bfff8ba1d
commit
fb33199d99
|
@ -46,8 +46,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* KHR_binary_glTF: full
|
* KHR_binary_glTF: full
|
||||||
* KHR_materials_common: full
|
* KHR_materials_common: full
|
||||||
*/
|
*/
|
||||||
#ifndef glTFAsset_H_INC
|
#ifndef GLTFASSET_H_INC
|
||||||
#define glTFAsset_H_INC
|
#define GLTFASSET_H_INC
|
||||||
|
|
||||||
|
#ifndef ASSIMP_BUILD_NO_GLTF_IMPORTER
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -1187,4 +1189,6 @@ namespace glTF
|
||||||
// Include the implementation of the methods
|
// Include the implementation of the methods
|
||||||
#include "glTFAsset.inl"
|
#include "glTFAsset.inl"
|
||||||
|
|
||||||
#endif
|
#endif // ASSIMP_BUILD_NO_GLTF_IMPORTER
|
||||||
|
|
||||||
|
#endif // GLTFASSET_H_INC
|
||||||
|
|
|
@ -46,8 +46,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
* KHR_binary_glTF: full
|
* KHR_binary_glTF: full
|
||||||
* KHR_materials_common: full
|
* KHR_materials_common: full
|
||||||
*/
|
*/
|
||||||
#ifndef glTFAssetWriter_H_INC
|
#ifndef GLTFASSETWRITER_H_INC
|
||||||
#define glTFAssetWriter_H_INC
|
#define GLTFASSETWRITER_H_INC
|
||||||
|
|
||||||
|
#ifndef ASSIMP_BUILD_NO_GLTF_IMPORTER
|
||||||
|
|
||||||
#include "glTFAsset.h"
|
#include "glTFAsset.h"
|
||||||
|
|
||||||
|
@ -88,4 +90,6 @@ public:
|
||||||
// Include the implementation of the methods
|
// Include the implementation of the methods
|
||||||
#include "glTFAssetWriter.inl"
|
#include "glTFAssetWriter.inl"
|
||||||
|
|
||||||
#endif
|
#endif // ASSIMP_BUILD_NO_GLTF_IMPORTER
|
||||||
|
|
||||||
|
#endif // GLTFASSETWRITER_H_INC
|
||||||
|
|
|
@ -45,6 +45,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#ifndef AI_GLTFEXPORTER_H_INC
|
#ifndef AI_GLTFEXPORTER_H_INC
|
||||||
#define AI_GLTFEXPORTER_H_INC
|
#define AI_GLTFEXPORTER_H_INC
|
||||||
|
|
||||||
|
#ifndef ASSIMP_BUILD_NO_GLTF_IMPORTER
|
||||||
|
|
||||||
#include <assimp/types.h>
|
#include <assimp/types.h>
|
||||||
#include <assimp/material.h>
|
#include <assimp/material.h>
|
||||||
|
|
||||||
|
@ -111,4 +113,6 @@ namespace Assimp
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // ASSIMP_BUILD_NO_GLTF_IMPORTER
|
||||||
|
|
||||||
|
#endif // AI_GLTFEXPORTER_H_INC
|
||||||
|
|
Loading…
Reference in New Issue