-
Notifications
You must be signed in to change notification settings - Fork 14
/
exporterglobals.h
54 lines (49 loc) · 2.46 KB
/
exporterglobals.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//-------------------------------------------------------------------------------------
// ExporterGlobals.h
//
// Common includes for the samples content exporter.
// Version number, display name, and vendor are stored here, and each exporter
// front-end project uses these defines in their builds.
//
// Advanced Technology Group (ATG)
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
// http://go.microsoft.com/fwlink/?LinkId=226208
//-------------------------------------------------------------------------------------
#pragma once
#define CONTENT_EXPORTER_MAJOR_VERSION 3
#define CONTENT_EXPORTER_MINOR_VERSION 1
#define CONTENT_EXPORTER_REVISION 0
#define MAKEVERSION(major, minor, rev) "" #major "." #minor "." #rev
#define CONTENT_EXPORTER_VERSION MAKEVERSION( CONTENT_EXPORTER_MAJOR_VERSION, CONTENT_EXPORTER_MINOR_VERSION, CONTENT_EXPORTER_REVISION )
#define CONTENT_EXPORTER_GLOBAL_TITLE "Samples Content Exporter"
#define CONTENT_EXPORTER_SETTINGS_TOKEN "SamplesContentExporter"
#define CONTENT_EXPORTER_VENDOR "Microsoft Advanced Technology Group"
#define CONTENT_EXPORTER_COPYRIGHT "Copyright (c) Microsoft Corporation."
#define CONTENT_EXPORTER_FILE_EXTENSION "xatg"
#define CONTENT_EXPORTER_FILE_FILTER "*." CONTENT_EXPORTER_FILE_EXTENSION
#define CONTENT_EXPORTER_FILE_FILTER_DESCRIPTION "XATG Samples Content File"
#define CONTENT_EXPORTER_BINARYFILE_EXTENSION "sdkmesh"
#define CONTENT_EXPORTER_BINARYFILE_FILTER "*." CONTENT_EXPORTER_BINARYFILE_EXTENSION
#define CONTENT_EXPORTER_BINARYFILE_FILTER_DESCRIPTION "DirectX SDK SDKMesh Binary File"
#define CONTENT_EXPORTER_BINARYFILE_FILTER_DESCRIPTION_V2 "SDKMesh Binary File Version 2 (PBR Materials)"
#ifdef _DEBUG
#define BUILD_FLAVOR "Debug"
#else
#define BUILD_FLAVOR "Release"
#endif
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the CONTENTEXPORTER_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project whose source files include this file see
// CONTENTEXPORTER_API functions as being imported from a DLL, whereas this DLL sees symbols
// defined with this macro as being exported.
#ifdef CONTENTEXPORTER_EXPORTS
#define CONTENTEXPORTER_API __declspec(dllexport)
#else
#define CONTENTEXPORTER_API __declspec(dllimport)
#endif
#ifndef ARRAYSIZE
#define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))
#endif