-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path3-PrepareSDK.bat
More file actions
56 lines (44 loc) · 1.33 KB
/
3-PrepareSDK.bat
File metadata and controls
56 lines (44 loc) · 1.33 KB
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
@echo off
set ROOT=%cd%
set NRD=%ROOT%\External\NRD
set NRI=%ROOT%\External\NRIFramework\External\NRI
rd /q /s "_NRD_SDK"
mkdir "_NRD_SDK"
cd "_NRD_SDK"
mkdir "Include"
mkdir "Integration"
mkdir "Lib\Debug"
mkdir "Lib\Release"
mkdir "Shaders"
copy "%NRD%\Include\*" "Include"
copy "%NRD%\Integration\*" "Integration"
copy "%NRD%\Shaders\NRD.hlsli" "Shaders"
copy "%NRD%\Shaders\NRDConfig.hlsli" "Shaders"
copy "%NRD%\LICENSE.txt" "."
copy "%NRD%\README.md" "."
copy "%NRD%\UPDATE.md" "."
copy "%ROOT%\_Bin\Debug\NRD.dll" "Lib\Debug"
copy "%ROOT%\_Bin\Debug\NRD.lib" "Lib\Debug"
copy "%ROOT%\_Bin\Debug\NRD.pdb" "Lib\Debug"
copy "%ROOT%\_Bin\Release\NRD.dll" "Lib\Release"
copy "%ROOT%\_Bin\Release\NRD.lib" "Lib\Release"
copy "%ROOT%\_Bin\Release\NRD.pdb" "Lib\Release"
cd ..
rd /q /s "_NRI_SDK"
mkdir "_NRI_SDK"
cd "_NRI_SDK"
mkdir "Include\Extensions"
mkdir "Lib\Debug"
mkdir "Lib\Release"
copy "%NRI%\Include\*" "Include"
copy "%NRI%\Include\Extensions\*" "Include\Extensions"
copy "%NRI%\LICENSE.txt" "."
copy "%NRI%\README.md" "."
copy "%NRI%\nri.natvis" "."
copy "%ROOT%\_Bin\Debug\NRI.dll" "Lib\Debug"
copy "%ROOT%\_Bin\Debug\NRI.lib" "Lib\Debug"
copy "%ROOT%\_Bin\Debug\NRI.pdb" "Lib\Debug"
copy "%ROOT%\_Bin\Release\NRI.dll" "Lib\Release"
copy "%ROOT%\_Bin\Release\NRI.lib" "Lib\Release"
copy "%ROOT%\_Bin\Release\NRI.pdb" "Lib\Release"
cd ..