source: OGRE/trunk/ogrenew/SDK/Win32/copysamples.sh @ 692

Revision 692, 1.8 KB checked in by mattausch, 19 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1#!/bin/bash
2rm -R samples/refapp
3rm -R samples/scripts
4rm -R samples/src
5rm -R samples/include
6mkdir samples/scripts
7mkdir samples/refapp
8mkdir samples/refapp/scripts
9mkdir samples/src
10mkdir samples/include
11
12# Do the project files
13/bin/find ../../samples -iname *_stlp.cbp -exec cp \{\} samples/scripts \;
14/bin/find ../../samples -iname *.vcproj -exec cp \{\} samples/scripts \;
15/bin/find ../../samples -iname *_vc8.vcproj.user -exec cp \{\} samples/scripts \;
16cp ../../ReferenceApplication/BspCollision/scripts/*_stlp.cbp samples/scripts
17cp ../../ReferenceApplication/BspCollision/scripts/*.vcproj samples/scripts
18cp ../../ReferenceApplication/BspCollision/scripts/*_vc8.vcproj.user samples/scripts
19cp ../../ReferenceApplication/ReferenceAppLayer/scripts/*_stlp.cbp samples/refapp/scripts
20cp ../../ReferenceApplication/ReferenceAppLayer/scripts/*.vcproj samples/refapp/scripts
21rm samples/scripts/OgreGUIRenderer_stlp.cbp
22rm samples/scripts/OgreGUIRenderer.vcproj
23rm samples/scripts/OgreGUIRenderer_vc8.vcproj
24/bin/find samples/scripts/ -iname *_stlp.cbp -exec sed -i -f altersamples.sed \{\} \;
25/bin/find samples/scripts/ -iname *.vcproj -exec sed -i -f altersamples.sed \{\} \;
26/bin/find samples/scripts/ -iname *_vc8.vcproj.user -exec sed -i -f altersamples.sed \{\} \;
27/bin/find samples/refapp/scripts/ -iname *_stlp.cbp -exec sed -i -f alterrefapp.sed \{\} \;
28/bin/find samples/refapp/scripts/ -iname *.vcproj -exec sed -i -f alterrefapp.sed \{\} \;
29
30# Combine the include / src folders; easier to do here than in setup
31/bin/find ../../samples -iname *.cpp -exec cp \{\} samples/src \;
32/bin/find ../../samples -iname *.h -exec cp \{\} samples/include \;
33cp ../../ReferenceApplication/BspCollision/src/*.cpp samples/src
34
35# Copy and alter resources.cfg
36cp ../../Samples/Common/bin/Release/resources.cfg samples/
37sed -i -e 's/\.\.\/\.\.\/\.\.\/Media/..\/..\/media/i' samples/resources.cfg
Note: See TracBrowser for help on using the repository browser.