SAP 3D Visual Enterprise applications SDK
DVLInclude.h
Go to the documentation of this file.
1
/*
2
(C) 2016 SAP SE or an SAP affiliate company. All rights reserved.
3
*/
11
#pragma once
12
13
#define DVL_LIBRARY //means that source is being compiled as part of DVL library
14
15
//Android platform
16
#ifdef ANDROID
17
#define DVL_PLATFORM_ANDROID
18
#endif
19
20
//Windows platform
21
#ifdef _WIN32
22
#define DVL_PLATFORM_WINDOWS
23
#endif
24
25
//iPhone/iPad/Mac platform
26
#ifdef __APPLE__
27
#include "TargetConditionals.h"
28
#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
29
#define DVL_PLATFORM_IOS
30
#elif TARGET_OS_MAC
31
#define DVL_PLATFORM_OSX
32
#else
33
#error "Unknown Apple platform"
34
#endif
35
#ifdef __LP64__
36
#define DVL_PLATFORM_64BIT
37
#endif
38
#endif
39
40
//Emscripten platform (yes, DVL can be converted into JavaScript, see http://emscripten.org)
41
#ifdef __EMSCRIPTEN__
42
#define DVL_PLATFORM_EMSCRIPTEN
43
#endif
44
45
//Debug/Release
46
#ifdef NDEBUG
47
#define DVL_PLATFORM_RELEASE
48
#else
49
#define DVL_PLATFORM_DEBUG
50
#endif
51
52
//64 bit support
53
#ifdef _WIN64
54
#define DVL_PLATFORM_64BIT
55
#endif
56
57
58
59
//
60
//standard includes
61
//
62
#include <stddef.h>
63
#include <stdint.h>
64
65
66
67
#ifdef DVL_PLATFORM_WINDOWS
68
#ifndef DVL_EXPORT
69
#ifdef DVL_EXPORTS
70
#define DVL_EXPORT __declspec(dllexport)
71
#else
72
#define DVL_EXPORT __declspec(dllimport)
73
#endif
74
#endif
75
#endif
76
77
#ifndef DVL_EXPORT
78
#define DVL_EXPORT
79
#endif
80
81
//
82
//DVL includes
83
//
84
#include "
DVLVersion.h
"
85
#include "
DVLTypes.h
"
86
#include "
DVLMaterial.h
"
87
#include "
DVLScene.h
"
88
#include "
DVLClient.h
"
89
#include "
DVLRenderer.h
"
90
#include "
DVLLibrary.h
"
91
#include "
DVLCore.h
"
DVLRenderer.h
DVLMaterial.h
DVLClient.h
DVLVersion.h
DVLLibrary.h
DVLScene.h
DVLTypes.h
DVLCore.h