This document is for a version of USD that is under development. See this page for the current release.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
pxr.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_H
8#define PXR_H
9
11
12#define PXR_MAJOR_VERSION 0
13#define PXR_MINOR_VERSION 25
14#define PXR_PATCH_VERSION 2
15
16#define PXR_VERSION 2502
17
18#define PXR_USE_NAMESPACES 1
19
20#if PXR_USE_NAMESPACES
21
22#define PXR_NS pxr
23#define PXR_INTERNAL_NS pxrInternal_v0_25_2__pxrReserved__
24#define PXR_NS_GLOBAL ::PXR_NS
25
26namespace PXR_INTERNAL_NS { }
27
28// The root level namespace for all source in the USD distribution.
29namespace PXR_NS {
30 using namespace PXR_INTERNAL_NS;
31}
32
33#define PXR_NAMESPACE_OPEN_SCOPE namespace PXR_INTERNAL_NS {
34#define PXR_NAMESPACE_CLOSE_SCOPE }
35#define PXR_NAMESPACE_USING_DIRECTIVE using namespace PXR_NS;
36
37#else
38
39#define PXR_NS
40#define PXR_NS_GLOBAL
41#define PXR_NAMESPACE_OPEN_SCOPE
42#define PXR_NAMESPACE_CLOSE_SCOPE
43#define PXR_NAMESPACE_USING_DIRECTIVE
44
45#endif // PXR_USE_NAMESPACES
46
47#if 1
48#define PXR_PYTHON_SUPPORT_ENABLED
49#endif
50
51#if 1
52#define PXR_PREFER_SAFETY_OVER_SPEED
53#endif
54
55#if 1
56#define PXR_USE_INTERNAL_BOOST_PYTHON
57#endif
58
59#endif //PXR_H