Skip to content

Commit c7e07f7

Browse files
committed
fix
1 parent c9228e2 commit c7e07f7

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

recipes/usd/build.bat

+29-29
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
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
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

0 commit comments

Comments
 (0)