'CopyToShared.sh' Script To Copy To Shared (Linux)

nikki

21-01-2009 13:57:12

Hello!

For some reason, after make and make install, the Shared/linux directory was still empty (I think the binaries should go there). I wrote this small script to execute from the root mygui directory to copy the files to Shared/linux:-

#!/bin/sh

cp Demos/Demo_*/Demo_* Shared/linux/
cp Tools/LayoutEditor/LayoutEditor Shared/linux/
cp Tools/ImageSetViewer/ImageSetViewer Shared/linux/

rm Shared/linux/*.vcpr*
rm Shared/linux/*.cbp

Have fun! ;)

Altren

21-01-2009 14:28:55

Great, thank you. The problem is that both main MyGUI developers know automake quiet bad.
Do you know how to add your script in the end of compile process?

P.S. If you want to speed up your process you can precompile MyGUI_Precompiled.h . MyGUIEngine will compile much more faster. Sorry, but I still don't know how to add it in automake.

nikki

23-02-2009 14:24:48

Great, thank you. The problem is that both main MyGUI developers know automake quiet bad.
Do you know how to add your script in the end of compile process?

P.S. If you want to speed up your process you can precompile MyGUI_Precompiled.h . MyGUIEngine will compile much more faster. Sorry, but I still don't know how to add it in automake.


Hey! Sorry for the very late reply, I almost never read the Addons Forums. :P

Actually, even I know nothing about automake, so I can't help much. If you're interested, you could try 'CMake', I've seen it being used in some Ogre projects, and it doesn't seem as complex as automake.

dermont

27-02-2009 09:26:38

For the install problem you could try updating your demo's Makefile.am to include
an install-exec-local rule, for example something like:

install-exec-local:
$(INSTALL_PROGRAM) .libs/Demo_Picking $(top_builddir)/Shared/linux