-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
CMakeLists.txt
167 lines (157 loc) · 3.58 KB
/
CMakeLists.txt
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
set(PXR_PREFIX pxr/imaging)
set(PXR_PACKAGE hd)
set(optionalPublicClasses "")
if (QT4_FOUND)
list(APPEND optionalPrivateClasses unitTestHelper)
endif()
if (OPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK)
_add_define(OPENSUBDIV_HAS_GLSL_TRANSFORM_FEEDBACK)
endif()
if (OPENSUBDIV_HAS_GLSL_COMPUTE)
_add_define(OPENSUBDIV_HAS_GLSL_COMPUTE)
endif()
pxr_shared_library(hd
LIBRARIES
plug
tf
tracelite
vt
work
sdf
glf
pxOsd
${OPENSUBDIV_LIBRARIES}
${GLEW_LIBRARY}
${TBB_LIBRARY}
INCLUDE_DIRS
${OPENSUBDIV_INCLUDE_DIR}
${GLEW_INCLUDE_DIR}
${TBB_INCLUDE_DIRS}
${OPENSUBDIV_INCLUDE_DIR}
PUBLIC_CLASSES
basisCurves
basisCurvesTopology
binding
bufferArray
bufferArrayRange
bufferArrayRegistry
bufferResource
bufferSource
bufferSpec
camera
changeTracker
codeGen
commandBuffer
computation
conversions
copyComputation
debugCodes
drawTarget
drawTargetAttachmentDesc
drawTargetAttachmentDescArray
drawTargetRenderPass
drawTargetRenderPassState
dirtyList
dispatchBuffer
drawingCoord
drawBatch
drawItem
drawItemInstance
drawItemState
engine
glslProgram
glslfxShader
glUtils
immediateDrawBatch
indirectDrawBatch
instancer
instanceRegistry
interleavedMemoryManager
light
lightingShader
mesh
meshTopology
package
patchIndex
perfLog
persistentBuffer
points
renderContextCaps
renderIndex
renderPass
renderPassShader
renderPassState
repr
resource
resourceBinder
resourceRegistry
rprim
rprimCollection
rprimSharedData
sceneDelegate
shader
shaderKey
shaderParam
simpleLightingShader
surfaceShader
strategyBase
task
texture
textureResource
tokens
topology
triangulate
vboMemoryManager
vboSimpleMemoryManager
vtBufferSource
PUBLIC_HEADERS
enums.h
version.h
PRIVATE_CLASSES
basisCurvesComputations
basisCurvesShaderKey
cullingShaderKey
defaultLightingShader
geometricShader
meshShaderKey
pointsShaderKey
quadrangulate
smoothNormals
subdivision
subdivision3
unitTestDelegate
vertexAdjacency
${optionalPrivateClasses}
PRIVATE_HEADERS
unitTestGLDrawing.h
RESOURCE_FILES
plugInfo.json
shaders/basisCurves.glslfx
shaders/compute.glslfx
shaders/defaultLightingShader.glslfx
shaders/fallbackSurface.glslfx
shaders/frustumCull.glslfx
shaders/instancing.glslfx
shaders/mesh.glslfx
shaders/meshNormal.glslfx
shaders/meshWire.glslfx
shaders/points.glslfx
shaders/ptexTexture.glslfx
shaders/renderPass.glslfx
shaders/renderPassShader.glslfx
shaders/simpleLighting.glslfx
shaders/simpleLightingShader.glslfx
)
if (QT4_FOUND)
pxr_build_test(testHdBasicDrawing
LIBRARIES
hd
glf
glfq
Qt4::QtCore
Qt4::QtOpenGL
CPPFILES
unitTestGLDrawing.cpp
testenv/testHdBasicDrawing.cpp
)
endif()