-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup_toolcenter.sh
More file actions
36 lines (31 loc) · 890 Bytes
/
setup_toolcenter.sh
File metadata and controls
36 lines (31 loc) · 890 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 "MiniEngine-ToolCenter Integration Script"
echo "TC_ROOT is "
echo $TC_ROOT
if [ 0"$TC_ROOT" = "0" ]; then
echo "ToolCenter not detected. Please set TC_ROOT"
exit
fi
mkdir include
cp -r $TC_ROOT/SDL2/include/* include/
cp -r $TC_ROOT/SDL2_image/include/* include/
cp -r $TC_ROOT/SDL2_mixer/include/* include/
cp -r $TC_ROOT/SDL2_ttf/include/* include/
mkdir lib
cp -r $TC_ROOT/SDL2/lib/* lib/
cp -r $TC_ROOT/SDL2_image/lib/* lib/
cp -r $TC_ROOT/SDL2_mixer/lib/* lib/
cp -r $TC_ROOT/SDL2_ttf/lib/* lib/
cp -r $TC_ROOT/SDL2/dll/x86/* .
cp -r $TC_ROOT/SDL2_image/dll/x86/* .
cp -r $TC_ROOT/SDL2_mixer/dll/x86/* .
cp -r $TC_ROOT/SDL2_ttf/dll/x86/* .
echo "Paste in Visual Studio:"
echo "======================"
echo "SDL2test.lib"
echo "SDL2main.lib"
echo "SDL2.lib"
echo "SDL2_image.lib"
echo "SDL2_mixer.lib"
echo "SDL2_ttf.lib"
echo "======================"
echo "Finish."