From e49a9d4d24fb151d0f0499a22ffc1d51662f0181 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 13 Jan 2013 19:59:13 +1000 Subject: Add extantz into the build and test framework. --- ClientHamr/extantz/build.sh | 11 +++++++++++ ClientHamr/extantz/make.sh | 11 ----------- ClientHamr/extantz/test.sh | 1 + build.sh | 4 ++++ test.sh | 7 +++++++ 5 files changed, 23 insertions(+), 11 deletions(-) create mode 100755 ClientHamr/extantz/build.sh delete mode 100755 ClientHamr/extantz/make.sh create mode 100755 ClientHamr/extantz/test.sh diff --git a/ClientHamr/extantz/build.sh b/ClientHamr/extantz/build.sh new file mode 100755 index 0000000..9649947 --- /dev/null +++ b/ClientHamr/extantz/build.sh @@ -0,0 +1,11 @@ +export PKG_CONFIG_PATH="/opt/e17/lib/pkgconfig" + +echo "clean" +rm -f extantz crappisspuke.o extantz.edj +echo "edje" +edje_cc -id images extantz.edc extantz.edj +echo "Irrlicht" +#g++ -O3 -ffast-math crappisspuke.cpp -o crappisspuke -I../../libraries/irrlicht-1.8/include -I/usr/X11R6/include -L../../libraries/irrlicht-1.8/lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor && ./crappisspuke +g++ -O3 -ffast-math -c crappisspuke.cpp -o crappisspuke.o -I../../libraries/irrlicht-1.8/include -I/usr/X11R6/include $(pkg-config --cflags elementary) +echo "extantz" +gcc -g -DPACKAGE_DATA_DIR="\"$(pwd)\"" extantz.c crappisspuke.o -o extantz $(pkg-config --cflags --libs eo) $(pkg-config --cflags --libs ecore-x) $(pkg-config --cflags --libs elementary) $(pkg-config --cflags --libs ephysics) -L../../libraries/irrlicht-1.8/lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor && strip extantz diff --git a/ClientHamr/extantz/make.sh b/ClientHamr/extantz/make.sh deleted file mode 100755 index 45694e6..0000000 --- a/ClientHamr/extantz/make.sh +++ /dev/null @@ -1,11 +0,0 @@ -export PKG_CONFIG_PATH="/opt/e17/lib/pkgconfig" - -echo "rm" -rm -f extantz crappisspuke.o extantz.edj -echo "edje" -edje_cc -id images extantz.edc extantz.edj -echo "Irrlicht" -#g++ -O3 -ffast-math crappisspuke.cpp -o crappisspuke -I../../libraries/irrlicht-1.8/include -I/usr/X11R6/include -L../../libraries/irrlicht-1.8/lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor && ./crappisspuke -g++ -O3 -ffast-math -c crappisspuke.cpp -o crappisspuke.o -I../../libraries/irrlicht-1.8/include -I/usr/X11R6/include $(pkg-config --cflags elementary) -echo "extantz" -gcc -g -DPACKAGE_DATA_DIR="\"$(pwd)\"" extantz.c crappisspuke.o -o extantz $(pkg-config --cflags --libs eo) $(pkg-config --cflags --libs ecore-x) $(pkg-config --cflags --libs elementary) $(pkg-config --cflags --libs ephysics) -L../../libraries/irrlicht-1.8/lib/Linux -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lXcursor && strip extantz && ./extantz diff --git a/ClientHamr/extantz/test.sh b/ClientHamr/extantz/test.sh new file mode 100755 index 0000000..01c2abe --- /dev/null +++ b/ClientHamr/extantz/test.sh @@ -0,0 +1 @@ +./build.sh && ./extantz diff --git a/build.sh b/build.sh index 731713a..ff1c714 100755 --- a/build.sh +++ b/build.sh @@ -71,4 +71,8 @@ echo "_______________ BUILDING LuaSL _______________" cd $wd/LuaSL ./build.sh +echo "_______________ BUILDING extantz _______________" +cd $wd/ClientHamr/extantz +./build.sh + diff --git a/test.sh b/test.sh index b9455c0..4f34b18 100755 --- a/test.sh +++ b/test.sh @@ -6,6 +6,11 @@ wd=$(pwd) ./build.sh || exit +echo "_______________ TESTING extantz _______________" +cd $wd/ClientHamr/extantz +./extantz & +sleep 1 + echo "_______________ TESTING LuaSL _______________" # Kill any left overs. killall -KILL LuaSL @@ -26,8 +31,10 @@ case $@ in ;; *) + echo "_______________ STARTING LuaSL _______________" ../LuaSL & sleep 1 + echo "_______________ STARTING LuaSL_test _______________" ../LuaSL_test ;; -- cgit v1.1