Commit 0ad5d0bb authored by Roland Levillain's avatar Roland Levillain
Browse files

Add an ``Enable Everything'' switch to configure.

	* configure.ac: Add option `--enable-all'.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3828 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 147e9e57
2009-05-15 Roland Levillain <roland@lrde.epita.fr>
Add an ``Enable Everything'' switch to configure.
* configure.ac: Add option `--enable-all'.
2009-05-15 Roland Levillain <roland@lrde.epita.fr> 2009-05-15 Roland Levillain <roland@lrde.epita.fr>
* configure.ac: Reorder the list of Makefiles. * configure.ac: Reorder the list of Makefiles.
......
...@@ -33,7 +33,6 @@ AC_DEFINE_UNQUOTED([OLN_PACKAGE_STRING], ["$PACKAGE_STRING"], ...@@ -33,7 +33,6 @@ AC_DEFINE_UNQUOTED([OLN_PACKAGE_STRING], ["$PACKAGE_STRING"],
AC_DEFINE_UNQUOTED([OLN_PACKAGE_VERSION], ["$PACKAGE_VERSION"], AC_DEFINE_UNQUOTED([OLN_PACKAGE_VERSION], ["$PACKAGE_VERSION"],
[Package Version.]) [Package Version.])
## --------------------- ## ## --------------------- ##
## C++ compiler set up. ## ## C++ compiler set up. ##
## --------------------- ## ## --------------------- ##
...@@ -88,6 +87,29 @@ if test "$GXX" = yes && test -z "$TESTS_CXXFLAGS_DEBUG"; then ...@@ -88,6 +87,29 @@ if test "$GXX" = yes && test -z "$TESTS_CXXFLAGS_DEBUG"; then
fi fi
## ------------------------------ ##
## ``Enable Everything'' Switch. ##
## ------------------------------ ##
# Enable all bundled features (trimesh2, Swilena, apps, tools). This
# option is useful to maintainers to ensure they do not break optional
# parts while modifying the core of the project. If both
# ``--enable-all'' is set and a given feature is disabled (say,
# ``--disable-apps''), then the disable flag has priority.
# FIXME: Due to with-swilena.m4's limitations, we have to explicitly
# enable SWIG. Will be repaired when OLN_WITH_SWILENA is revamped.
AC_ARG_ENABLE([all],
[AS_HELP_STRING([--enable-all],
[enable maintainer mode])],
[
enable_trimesh=yes
with_swig=yes
enable_swilena=yes
enable_apps=yes
enable_tools=yes
])
## ------------------ ## ## ------------------ ##
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment