File tree 3 files changed +117
-0
lines changed
3 files changed +117
-0
lines changed Original file line number Diff line number Diff line change
1
+ mkdir build
2
+ cd build
3
+
4
+ cmake %CMAKE_ARGS% ^
5
+ -G " Ninja" ^
6
+ -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^
7
+ -DCMAKE_BUILD_TYPE=Release ^
8
+ -DBUILD_TESTING:BOOL=ON ^
9
+ -DBUILD_SHARED_LIBS:BOOL=ON ^
10
+ -DPXR_HEADLESS_TEST_MODE:BOOL=ON ^
11
+ -DPXR_BUILD_IMAGING:BOOL=ON ^
12
+ -DPXR_BUILD_USD_IMAGING=ON ^
13
+ -DPXR_ENABLE_PYTHON_SUPPORT=ON ^
14
+ -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY:BOOL=ON ^
15
+ -DPXR_USE_PYTHON_3:BOOL=ON ^
16
+ %SRC_DIR%
17
+ if errorlevel 1 exit 1
18
+
19
+ :: Build.
20
+ cmake --build . --config Release
21
+ if errorlevel 1 exit 1
22
+
23
+ :: Install.
24
+ cmake --build . --config Release --target install
25
+ if errorlevel 1 exit 1
26
+
27
+ :: Test.
28
+ ctest --output-on-failure -C Release
29
+ if errorlevel 1 exit 1
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ mkdir build
4
+ cd build
5
+
6
+ cmake ${CMAKE_ARGS} -GNinja .. \
7
+ -DCMAKE_BUILD_TYPE=Release \
8
+ -DBUILD_TESTING:BOOL=ON \
9
+ -DPXR_HEADLESS_TEST_MODE:BOOL=ON \
10
+ -DPXR_BUILD_IMAGING:BOOL=ON \
11
+ -DPXR_BUILD_USD_IMAGING:BOOL=ON \
12
+ -DPXR_ENABLE_PYTHON_SUPPORT:BOOL=OFF \
13
+ -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY:BOOL=ON \
14
+ -DPXR_USE_PYTHON_3:BOOL=ON
15
+
16
+ cmake --build . --config Release
17
+ cmake --build . --config Release --target install
18
+ ctest --output-on-failure -C Release
Original file line number Diff line number Diff line change
1
+ schema_version : 1
2
+
3
+ context :
4
+ name : usd
5
+ version : 25.02
6
+
7
+ package :
8
+ name : ${{ name }}
9
+ version : ${{ version }}
10
+
11
+ source :
12
+ - url : https://github.com/PixarAnimationStudios/OpenUSD/archive/refs/tags/v${{ version }}.tar.gz
13
+ sha256 : 2979c0f09b766fd6470bdf06c8500c90ed51327aae1c22af132641a44178b722
14
+
15
+ build :
16
+ number : 0
17
+
18
+ requirements :
19
+ build :
20
+ - ${{ compiler('c') }}
21
+ - ${{ stdlib('c') }}
22
+ - ${{ compiler('cxx') }}
23
+ - ninja
24
+ - cmake
25
+ host :
26
+ - if : linux
27
+ then :
28
+ - libgl-devel
29
+ - libglx-devel
30
+ - xorg-libxrandr
31
+ - glfw
32
+ - tbb-devel
33
+ - libboost-devel
34
+ - libboost-python-devel
35
+ - libopensubdiv
36
+ - python
37
+ - jinja2
38
+ - pyside6
39
+ - pyopengl
40
+ run_exports :
41
+ - ${{ pin_subpackage(name, upper_bound='x.x') }}
42
+
43
+ tests :
44
+ - package_contents :
45
+ include :
46
+ - pxr/pxr.h
47
+ lib :
48
+ - usd_ms
49
+ - requirements :
50
+ run :
51
+ - cmake-package-check
52
+ - ${{ compiler('c') }}
53
+ - ${{ compiler('cxx') }}
54
+ script :
55
+ - cmake-package-check pxr
56
+ - python :
57
+ imports :
58
+ - pxr
59
+ - pxr.Usd
60
+ - pxr.UsdGeom
61
+
62
+ about :
63
+ license : Apache-2.0
64
+ license_file : LICENSE.txt
65
+ summary : Library to read and write Universal Scene Description (USD) files.
66
+ homepage : https://github.com/PixarAnimationStudios/OpenUSD
67
+
68
+ extra :
69
+ recipe-maintainers :
70
+ - traversaro
You can’t perform that action at this time.
0 commit comments