Skip to content

Commit 04d3b12

Browse files
committed
Add toolcenter integration
1 parent ca6e30a commit 04d3b12

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

setup_toolcenter.sh

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
echo "MiniEngine-ToolCenter Integration Script"
2+
3+
echo "TC_ROOT is "
4+
echo $TC_ROOT
5+
6+
if [ 0"$TC_ROOT" = "0" ]; then
7+
echo "ToolCenter not detected. Please set TC_ROOT"
8+
exit
9+
fi
10+
11+
mkdir include
12+
cp -r $TC_ROOT/SDL2/include/* include/
13+
cp -r $TC_ROOT/SDL2_image/include/* include/
14+
cp -r $TC_ROOT/SDL2_mixer/include/* include/
15+
cp -r $TC_ROOT/SDL2_ttf/include/* include/
16+
mkdir lib
17+
cp -r $TC_ROOT/SDL2/lib/* lib/
18+
cp -r $TC_ROOT/SDL2_image/lib/* lib/
19+
cp -r $TC_ROOT/SDL2_mixer/lib/* lib/
20+
cp -r $TC_ROOT/SDL2_ttf/lib/* lib/
21+
22+
cp -r $TC_ROOT/SDL2/dll/x86/* .
23+
cp -r $TC_ROOT/SDL2_image/dll/x86/* .
24+
cp -r $TC_ROOT/SDL2_mixer/dll/x86/* .
25+
cp -r $TC_ROOT/SDL2_ttf/dll/x86/* .
26+
27+
echo "Paste in Visual Studio:"
28+
echo "======================"
29+
echo "SDL2test.lib"
30+
echo "SDL2main.lib"
31+
echo "SDL2.lib"
32+
echo "SDL2_image.lib"
33+
echo "SDL2_mixer.lib"
34+
echo "SDL2_ttf.lib"
35+
echo "======================"
36+
echo "Finish."

0 commit comments

Comments
 (0)