-
Notifications
You must be signed in to change notification settings - Fork 11
/
prebuild.toml
91 lines (75 loc) · 5.32 KB
/
prebuild.toml
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
########################################################################################################################
# Memo:
########################################################################################################################
# This file is used to configure files/folders to copy and folder links to create (before running premake).
# Mappings ($ string substitutions). Name and examples:
# |==========================================================
# | $platform | 'windows-x86_64' | 'linux-x86_64' |
# |----------------------------------------------------------
# | $lib_ext | '.dll' | '.so' |
# | $lib_prefix | '' | 'lib.' |
# | $bindings_ext | '.pyd' | '.so' |
# | $exe_ext | '.exe' | '' |
# | $shell_ext | '.bat' | '.sh' |
# |==========================================================
#
# |==========================================================
# | $config | 'debug' | 'release' |
# |==========================================================
# Filters. For example, debug config on linux-x86_64 matches all those toml keys:
# [linux-x86_64]
# [debug]
# [linux.debug]
# So you can use those in any order as a keys: ["linux-x86_64", "debug", "linux", "x86_64"]
########################################################################################################################
# NOTE:
# This file is almost empty, we prefer to use the second one: _build/generated/prebuild.toml. It is generated by premake
# configurations. That allows to keep all copy and link configuration together with other project data.
########################################################################################################################
########################################################################################################################
# Common section:
########################################################################################################################
copy = [
["_build/intermediate/sdk-runtime/$config/config", "_build/$platform/$config/config"],
["_build/intermediate/sdk-runtime/$config/plugins", "_build/$platform/$config/plugins"],
["_build/intermediate/sdk-runtime/$config/python", "_build/$platform/$config/python"],
["_build/intermediate/sdk-runtime/$config/lib/**", "_build/$platform/$config"], # remap libs & usd plugins to root of build
# extras not installed by connect-sdk installer
["_build/target-deps/usd/$config/bin/${lib_prefix}MaterialXCore*${lib_ext}*", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/${lib_prefix}MaterialXCore*${lib_ext}*", "_build/$platform/$config"],
["_build/target-deps/usd/$config/bin/${lib_prefix}MaterialXFormat*${lib_ext}*", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/${lib_prefix}MaterialXFormat*${lib_ext}*", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/${lib_prefix}*usdHydra${lib_ext}", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/${lib_prefix}*usdMtlx${lib_ext}", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/${lib_prefix}*usdPhysics${lib_ext}", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/${lib_prefix}*usdSkel${lib_ext}", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/${lib_prefix}*usdUI${lib_ext}", "_build/$platform/$config"],
["_build/target-deps/usd/$config/lib/python/pxr/UsdHydra", "_build/$platform/$config/python/pxr/UsdHydra"],
["_build/target-deps/usd/$config/lib/python/pxr/UsdMtlx", "_build/$platform/$config/python/pxr/UsdMtlx"],
["_build/target-deps/usd/$config/lib/python/pxr/UsdPhysics", "_build/$platform/$config/python/pxr/UsdPhysics"],
["_build/target-deps/usd/$config/lib/python/pxr/UsdSkel", "_build/$platform/$config/python/pxr/UsdSkel"],
["_build/target-deps/usd/$config/lib/python/pxr/UsdUI", "_build/$platform/$config/python/pxr/UsdUI"],
["_build/target-deps/omni_transcoding/$config/python", "_build/$platform/$config/python"],
["_build/target-deps/omni_asset_validator/$config/**/*.*", "_build/$platform/$config"],
# used only when source linking for local development of asset validator
["_build/target-deps/omni_asset_validator/omni", "_build/$platform/$config/python/omni"],
["_build/target-deps/omni_asset_validator/pip_prebundle/**/*.*", "_build/$platform/$config/python"],
["_build/target-deps/omni_asset_validator/scripts", "_build/$platform/$config/scripts"],
]
link = [
["_build/target-deps/python", "_build/$platform/$config/python-runtime"],
]
########################################################################################################################
# Windows platform:
########################################################################################################################
[windows-x86_64]
copy = [
["_build/host-deps/vc/bin/HostX64/x64/vcruntime*.*", "_build/$platform/release"],
]
link = []
########################################################################################################################
# Linux x86_64 platform:
########################################################################################################################
[linux-x86_64]
copy = []
link = []