-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
73 lines (62 loc) · 1.33 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
cmake_minimum_required(VERSION 3.12)
project(G4USD)
# Set paths to your USD installation
set(PXR_ROOT "Physics/coderepos/openusd/openusd-build/")
list(APPEND CMAKE_PREFIX_PATH "${PXR_ROOT}")
find_package(PXR REQUIRED
COMPONENTS
usd
usdGeom # Include other necessary USD components here
)
set(PXR_PACKAGE g4)
pxr_plugin(${PXR_PACKAGE}
LIBRARIES
tf
sdf
usd
usdGeom
vt
usdImaging
CGAL::CGAL
INCLUDE_DIRS
${Boost_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIRS}
PUBLIC_HEADERS
api.h
PUBLIC_CLASSES
vSolid
box
tubs
booleanSolid
subtraction
displacedSolid
union
intersection
subtraction
logical
physical
tokens
VSolidAdapter
cgal_boolean
PYTHON_CPPFILES
moduleDeps.cpp
PYMODULE_FILES
__init__.py
PYMODULE_CPPFILES
module.cpp
wrapVSolid.cpp
wrapBox.cpp
wrapTubs.cpp
wrapBooleanSolid.cpp
wrapDisplacedSolid.cpp
wrapIntersection.cpp
wrapUnion.cpp
wrapSubtraction.cpp
wrapLogical.cpp
wrapPhysical.cpp
wrapTokens.cpp
RESOURCE_FILES
generatedSchema.usda
plugInfo.json
g4.usda:g4/schema.usda
)