-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_plugins.bat
More file actions
36 lines (31 loc) · 972 Bytes
/
build_plugins.bat
File metadata and controls
36 lines (31 loc) · 972 Bytes
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
@echo off
cd /d "%~dp0"
echo ============================================
echo Building Maya Viewport Plugin...
echo ============================================
cd maya_viewport
if not exist build mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A x64 .. --fresh
cmake --build . --config Release
cd ..\..
echo.
echo ============================================
echo Building Arnold Shader...
echo ============================================
cd arnold
if not exist build mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A x64 .. --fresh
cmake --build . --config Release
cd ..\..
echo.
echo ============================================
echo Build complete!
echo ============================================
echo Maya plugin: maya_viewport\output\NormalReconstructZ.mll
echo Arnold shader: arnold\output\aiNormalReconstructZ.dll
echo Arnold metadata: arnold\output\aiNormalReconstructZ.mtd
echo.
echo Run install_plugins.bat to copy to Maya folders.
pause