forked from effekseer/Effekseer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release_cpp.bat
107 lines (74 loc) · 4.11 KB
/
release_cpp.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
SET RDIR_R=EffekseerForCpp
rmdir %RDIR_R%
mkdir %RDIR_R%
mkdir %RDIR_R%\cmake\
echo Copy runtime
mkdir %RDIR_R%\Examples\
mkdir %RDIR_R%\src
mkdir %RDIR_R%\src\include
mkdir %RDIR_R%\src\lib
copy Dev\Cpp\Effekseer\Effekseer.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererDX9\EffekseerRendererDX9.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererDX11\EffekseerRendererDX11.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerRendererGL\EffekseerRendererGL.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerSoundXAudio2\EffekseerSoundXAudio2.h %RDIR_R%\src\include\.
copy Dev\Cpp\EffekseerSoundAL\EffekseerSoundAL.h %RDIR_R%\src\include\.
mkdir %RDIR_R%\src\Effekseer
robocopy Dev\Cpp\Effekseer %RDIR_R%\src\Effekseer *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerRendererDX9
robocopy Dev\Cpp\EffekseerRendererDX9 %RDIR_R%\src\EffekseerRendererDX9 *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerRendererDX11
robocopy Dev\Cpp\EffekseerRendererDX11 %RDIR_R%\src\EffekseerRendererDX11 *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerRendererDX12
robocopy Dev\Cpp\EffekseerRendererDX12 %RDIR_R%\src\EffekseerRendererDX12 *.h *.cpp *.fx *.bat CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerRendererGL
robocopy Dev\Cpp\EffekseerRendererGL %RDIR_R%\src\EffekseerRendererGL *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerRendererLLGI
robocopy Dev\Cpp\EffekseerRendererLLGI %RDIR_R%\src\EffekseerRendererLLGI *.h *.cpp /S
mkdir %RDIR_R%\src\EffekseerRendererCommon
robocopy Dev\Cpp\EffekseerRendererCommon %RDIR_R%\src\EffekseerRendererCommon *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerRendererMetal
robocopy Dev\Cpp\EffekseerRendererMetal %RDIR_R%\src\EffekseerRendererMetal *.h *.cpp *.mm CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerRendererVulkan
robocopy Dev\Cpp\EffekseerRendererVulkan %RDIR_R%\src\EffekseerRendererVulkan *.h *.cpp *.vert *.frag *.inl *.py CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerSoundXAudio2
robocopy Dev\Cpp\EffekseerSoundXAudio2 %RDIR_R%\src\EffekseerSoundXAudio2 *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerSoundAL
robocopy Dev\Cpp\EffekseerSoundAL %RDIR_R%\src\EffekseerSoundAL *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerSoundDSound
robocopy Dev\Cpp\EffekseerSoundDSound %RDIR_R%\src\EffekseerSoundDSound *.h *.cpp *.fx CMakeLists.txt /S
mkdir %RDIR_R%\src\EffekseerMaterialCompiler
robocopy Dev\Cpp\EffekseerMaterialCompiler %RDIR_R%\src\EffekseerMaterialCompiler *.h *.cpp CMakeLists.txt /S
mkdir %RDIR_R%\src\3rdParty\LLGI
robocopy Dev\Cpp\3rdParty\LLGI %RDIR_R%\src\3rdParty\LLGI /S
mkdir %RDIR_R%\src\3rdParty\glslang
robocopy Dev\Cpp\3rdParty\glslang %RDIR_R%\src\3rdParty\glslang /S
echo for github actions
rmdir /s /q %RDIR_R%\src\3rdParty\glslang\Test
mkdir %RDIR_R%\src\3rdParty\stb_effekseer
robocopy Dev\Cpp\3rdParty\stb_effekseer %RDIR_R%\src\3rdParty\stb_effekseer *.h
echo Samples for runtimes
robocopy Examples %RDIR_R%\Examples\ *.h *.cpp *.mm *.txt *.fx *.efk *.wav *.png /S
copy Dev\Cpp\CMakeLists.txt %RDIR_R%\src\.
copy cmake\FilterFolder.cmake %RDIR_R%\cmake\.
echo Sample
mkdir %RDIR%\Sample
robocopy Release\Sample %RDIR%\Sample *.efkproj *.efkmodel *.txt *.png *.mqo *.fbx /S
echo License
cp LICENSE %RDIR_R%/LICENSE.txt
cp LICENSE_RUNTIME_DIRECTX %RDIR_R%/LICENSE_RUNTIME_DIRECTX.txt
cp LICENSE_RUNTIME_VULKAN %RDIR_R%/LICENSE_RUNTIME_VULKAN.txt
echo Readme
copy docs\readme_cpp_ja.txt %RDIR_R%\readme_cpp_ja.txt
copy docs\readme_cpp_en.txt %RDIR_R%\readme_cpp_en.txt
copy docs\releasenotes_cpp.txt %RDIR_R%\releasenotes.txt
copy Release\CMakeLists.txt %RDIR_R%\.
robocopy Downloads\glfw %RDIR_R%\Examples\Utils\glfw\. /S
copy Release\build_msvc2017_x86.bat %RDIR_R%\build_msvc2017_x86.bat
copy Release\build_msvc2019_x86.bat %RDIR_R%\build_msvc2019_x86.bat
copy Release\build_vulkan_msvc2019_x86.bat %RDIR_R%\build_vulkan_msvc2019_x86.bat
copy Release\build_msvc2017_x64.bat %RDIR_R%\build_msvc2017_x64.bat
copy Release\build_msvc2019_x64.bat %RDIR_R%\build_msvc2019_x64.bat
copy Release\build_vulkan_msvc2019_x64.bat %RDIR_R%\build_vulkan_msvc2019_x64.bat
copy Release\build_macOS.sh %RDIR_R%\build_macOS.sh
pause