forked from enlightenment/efl
parent
f299471884
commit
ceae5649b6
|
@ -34,11 +34,7 @@ m4/ltoptions.m4
|
||||||
m4/ltsugar.m4
|
m4/ltsugar.m4
|
||||||
m4/ltversion.m4
|
m4/ltversion.m4
|
||||||
m4/lt~obsolete.m4
|
m4/lt~obsolete.m4
|
||||||
data/themes/ephysics_test.edj
|
|
||||||
data/themes/ephysics_sandbox.edj
|
|
||||||
src/bin/ephysics_test
|
|
||||||
src/bin/ephysics_logo
|
src/bin/ephysics_logo
|
||||||
src/bin/ephysics_sandbox
|
|
||||||
doc/html/
|
doc/html/
|
||||||
doc/latex/
|
doc/latex/
|
||||||
doc/man/
|
doc/man/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
if !BUILD_DOCS_ONLY
|
if !BUILD_DOCS_ONLY
|
||||||
SUBDIRS = src doc data
|
SUBDIRS = src doc
|
||||||
|
|
||||||
MAINTAINERCLEANFILES = \
|
MAINTAINERCLEANFILES = \
|
||||||
Makefile.in \
|
Makefile.in \
|
||||||
|
@ -30,7 +30,6 @@ bin_SCRIPTS =
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
AUTHORS \
|
AUTHORS \
|
||||||
COPYING \
|
COPYING \
|
||||||
COPYING_ARTS \
|
|
||||||
autogen.sh \
|
autogen.sh \
|
||||||
ephysics.pc.in \
|
ephysics.pc.in \
|
||||||
ephysics.spec \
|
ephysics.spec \
|
||||||
|
|
|
@ -16,8 +16,6 @@ Must:
|
||||||
ecore-evas (at least 1.2.99)
|
ecore-evas (at least 1.2.99)
|
||||||
evas (at least 1.2.99)
|
evas (at least 1.2.99)
|
||||||
bullet (at least 2.79)
|
bullet (at least 2.79)
|
||||||
Optional:
|
|
||||||
elementary (at least 1.0.99, required to build ephysics_test)
|
|
||||||
|
|
||||||
EPhysics is a library that manages Ecore, Evas and Bullet Physics into
|
EPhysics is a library that manages Ecore, Evas and Bullet Physics into
|
||||||
an easy to use way. It's a kind of wrapper, a glue, between these libraries.
|
an easy to use way. It's a kind of wrapper, a glue, between these libraries.
|
||||||
|
@ -35,35 +33,18 @@ COMPILING AND INSTALLING:
|
||||||
(as root unless you are installing in your users directories):
|
(as root unless you are installing in your users directories):
|
||||||
$ make install
|
$ make install
|
||||||
|
|
||||||
If elementary is installed, it will build and install a test application as
|
|
||||||
well, that showcases EPhysics capabilites. Run
|
|
||||||
|
|
||||||
$ ephysics_test
|
|
||||||
|
|
||||||
to see these examples.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
TESTS
|
TESTS
|
||||||
|
|
||||||
Tests require elementary to be build.
|
There are a project with many tests for ephysics, including a logo example,
|
||||||
|
and a sandbox util.
|
||||||
|
|
||||||
List of test applications:
|
It's called ephysics_test, and may be found at:
|
||||||
* ephysics_test => List with many tests to exemplify specific features
|
|
||||||
* ephysics_logo => Example of logo / loading screen made using ephysics
|
|
||||||
* ephysics_sandbox => Application to set many different properties to bodies
|
|
||||||
and see they interacting.
|
|
||||||
|
|
||||||
ephysics_test supports to launch a specified test on command line, like
|
http://svn.enlightenment.org/svn/e/trunk/ephysics_tests
|
||||||
|
|
||||||
$ ephysics_test "Jumping Balls"
|
Tests require the library Elementary to be build.
|
||||||
|
|
||||||
Also, it can run only the test, avoiding the main menu, with parameter
|
|
||||||
--test-win-only or -to (it must to be passed before the test name):
|
|
||||||
|
|
||||||
$ ephysics_test -to Camera
|
|
||||||
|
|
||||||
The other programs don't accept parameters.
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ AC_SUBST(EFL_EPHYSICS_BUILD)
|
||||||
build_docs_only="no"
|
build_docs_only="no"
|
||||||
AC_ARG_ENABLE([build-docs-only],
|
AC_ARG_ENABLE([build-docs-only],
|
||||||
AC_HELP_STRING([--enable-build-docs-only],
|
AC_HELP_STRING([--enable-build-docs-only],
|
||||||
[Doesn't build library or tests, just build docs. @<:@default==disabled@:>@]),
|
[Doesn't build library, just build docs. @<:@default==disabled@:>@]),
|
||||||
[
|
[
|
||||||
if test "x${enableval}" = "xyes" ; then
|
if test "x${enableval}" = "xyes" ; then
|
||||||
build_docs_only="yes"
|
build_docs_only="yes"
|
||||||
|
@ -188,54 +188,16 @@ case "$host_os" in
|
||||||
esac
|
esac
|
||||||
AC_SUBST(lt_enable_auto_import)
|
AC_SUBST(lt_enable_auto_import)
|
||||||
|
|
||||||
## Tests - disable by default. With edje requiring ephysics and tests requiring
|
|
||||||
## edje we are in circular dependency hell here.
|
|
||||||
build_tests="no"
|
|
||||||
if test "x${build_docs_only}" = "xno" ; then
|
|
||||||
PKG_CHECK_MODULES([ELEMENTARY], [elementary >= 1.7.99], [req_tests="yes"], [req_tests="no"])
|
|
||||||
AC_ARG_ENABLE([build-tests],
|
|
||||||
AC_HELP_STRING([--enable-build-tests],
|
|
||||||
[Enable building tests. It is not built if the
|
|
||||||
required dependencies are not present. @<:@default==disabled@:>@]),
|
|
||||||
[
|
|
||||||
if test "x${enableval}" = "xyes" ; then
|
|
||||||
if test "x${req_tests}" = "xyes" ; then
|
|
||||||
build_tests="yes"
|
|
||||||
requirement_ephysics="elementary >= 1.7.99 ${requirement_ephysics}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[])
|
|
||||||
else
|
|
||||||
build_tests="no"
|
|
||||||
fi
|
|
||||||
AM_CONDITIONAL([BUILD_TESTS], [test "x${build_tests}" = "xyes"])
|
|
||||||
|
|
||||||
if test "x${build_tests}" = "xyes" && test "x${build_docs_only}" = "xno" ; then
|
|
||||||
PKG_CHECK_MODULES([EPHYSICS_TEST],
|
|
||||||
[
|
|
||||||
eina >= 1.2.99
|
|
||||||
evas >= 1.7.99
|
|
||||||
ecore >= 1.2.99
|
|
||||||
elementary >= 1.0.99
|
|
||||||
bullet >= 2.80
|
|
||||||
])
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(requirement_ephysics)
|
AC_SUBST(requirement_ephysics)
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
ephysics.pc
|
ephysics.pc
|
||||||
ephysics.spec
|
ephysics.spec
|
||||||
Makefile
|
Makefile
|
||||||
data/Makefile
|
|
||||||
data/logo_images/Makefile
|
|
||||||
data/themes/Makefile
|
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
doc/Doxyfile
|
doc/Doxyfile
|
||||||
src/Makefile
|
src/Makefile
|
||||||
src/lib/Makefile
|
src/lib/Makefile
|
||||||
src/bin/Makefile
|
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,7 +214,6 @@ echo
|
||||||
echo "Configuration Options Summary:"
|
echo "Configuration Options Summary:"
|
||||||
echo
|
echo
|
||||||
echo " Documentation........: ${build_doc} | docs-only: ${build_docs_only}"
|
echo " Documentation........: ${build_doc} | docs-only: ${build_docs_only}"
|
||||||
echo " Tests................: ${build_tests}"
|
|
||||||
echo
|
echo
|
||||||
echo "Compilation............: make (or gmake)"
|
echo "Compilation............: make (or gmake)"
|
||||||
echo " CPPFLAGS.............: $CPPFLAGS"
|
echo " CPPFLAGS.............: $CPPFLAGS"
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MAINTAINERCLEANFILES = Makefile.in
|
MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
SUBDIRS = lib bin
|
SUBDIRS = lib
|
||||||
|
|
Loading…
Reference in New Issue