forked from PixarAnimationStudios/OpenUSD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmoduleDeps.cpp
38 lines (31 loc) · 922 Bytes
/
moduleDeps.cpp
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
//
// Copyright 2016 Pixar
//
// Licensed under the terms set forth in the LICENSE.txt file available at
// https://openusd.org/license.
//
////////////////////////////////////////////////////////////////////////
#include "pxr/pxr.h"
#include "pxr/base/tf/registryManager.h"
#include "pxr/base/tf/scriptModuleLoader.h"
#include "pxr/base/tf/token.h"
#include <vector>
PXR_NAMESPACE_OPEN_SCOPE
TF_REGISTRY_FUNCTION(TfScriptModuleLoader) {
// List of direct dependencies for this library.
const std::vector<TfToken> reqs = {
TfToken("ar"),
TfToken("arch"),
TfToken("gf"),
TfToken("pegtl"),
TfToken("plug"),
TfToken("tf"),
TfToken("trace"),
TfToken("ts"),
TfToken("vt"),
TfToken("work")
};
TfScriptModuleLoader::GetInstance().
RegisterLibrary(TfToken("sdf"), TfToken("pxr.Sdf"), reqs);
}
PXR_NAMESPACE_CLOSE_SCOPE