This repository has been archived by the owner on Aug 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.bat
50 lines (41 loc) · 2.52 KB
/
Package.bat
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
cd F:\Development\PhysX.Net\PhysX.Net-3.0\
F:
cd Package
rd Working /S /Q
md Working
cd Working
md "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1"
cd "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1"
md "Assemblies"
md "Assemblies\x86"
md "Assemblies\x86\Debug"
md "Assemblies\x86\Release"
md "Assemblies\x64"
md "Assemblies\x64\Debug"
md "Assemblies\x64\Release"
cd ..\..\..
# Samples
md "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples"
robocopy Samples "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples" /E /XF *.suo *.vssscc *.cachefile *.user *.vspscc *.pdb /XD obj Release
md "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies"
robocopy Assemblies "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies" /E
msbuild PhysX.Net-3.0.sln /p:Configuration=Debug;Platform=x86
msbuild PhysX.Net-3.0.sln /p:Configuration=Release;Platform=x86
msbuild PhysX.Net-3.0.sln /p:Configuration=Debug;Platform=x64
msbuild PhysX.Net-3.0.sln /p:Configuration=Release;Platform=x64
xcopy "PhysX.Net-3.0\bin\x86\Debug\PhysX.Net.dll" "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies\x86\Debug"
xcopy "PhysX.Net-3.0\bin\x86\Debug\PhysX.Net.pdb" "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies\x86\Debug"
xcopy "PhysX.Net-3.0\bin\x86\Release\PhysX.Net.dll" "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies\x86\Release"
xcopy "PhysX.Net-3.0\bin\x64\Debug\PhysX.Net.dll" "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies\x64\Debug"
xcopy "PhysX.Net-3.0\bin\x64\Debug\PhysX.Net.pdb" "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies\x64\Debug"
xcopy "PhysX.Net-3.0\bin\x64\Release\PhysX.Net.dll" "Package\Working\PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Assemblies\x64\Release"
cd "Package\Working"
attrib * -R /S /D
..\..\..\Tools\StripSourceControl "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples\PhysX.Net Samples.sln"
..\..\..\Tools\StripSourceControl "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples\CCD Skeleton\CCD Skeleton.csproj"
..\..\..\Tools\StripSourceControl "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples\Engine\Engine.csproj"
..\..\..\Tools\StripSourceControl "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples\Fluid Blob\Fluid Blob.csproj"
..\..\..\Tools\StripSourceControl "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples\Main Sample\Main Sample.csproj"
..\..\..\Tools\StripSourceControl "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1\Samples\Tearing Cloth\Tearing Cloth.csproj"
..\..\..\Tools\7-Zip\7z.exe a "PhysX.Net 0.1 for NVIDIA PhysX 3.0.2.1.zip" .
cd ..\..