Skip to content
Snippets Groups Projects
Commit 501d48bc authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

--enable-minimal build shortcut

parent 92523197
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
// Please report all bugs and problems to <gmsh@geuz.org>. // Please report all bugs and problems to <gmsh@geuz.org>.
#include "PViewData.h" #include "PViewData.h"
#include "PViewDataList.h"
#include "GModel.h" #include "GModel.h"
#include "SBoundingBox3d.h" #include "SBoundingBox3d.h"
......
...@@ -1287,6 +1287,7 @@ Optional Features: ...@@ -1287,6 +1287,7 @@ Optional Features:
--enable-native-file-chooser --enable-native-file-chooser
enable native file chooser (default=yes, except on enable native file chooser (default=yes, except on
Linux) Linux)
--enable-minimal build minimal standalone version (default=no)
Optional Packages: Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
...@@ -1932,6 +1933,28 @@ if test "${enable_native_file_chooser+set}" = set; then ...@@ -1932,6 +1933,28 @@ if test "${enable_native_file_chooser+set}" = set; then
enableval=$enable_native_file_chooser; enableval=$enable_native_file_chooser;
fi fi
# Check whether --enable-minimal was given.
if test "${enable_minimal+set}" = set; then
enableval=$enable_minimal;
fi
if test "x$enable_minimal" = "xyes"; then
enable_gui=no;
enable_post=no;
enable_gsl=no;
# enable_occ=no;
enable_fm=no;
enable_netgen=no;
enable_tetgen=no;
enable_matheval=no;
enable_ann=no;
enable_metis=no;
enable_med=no;
enable_cgns=no;
enable_zlib=no;
CXXFLAGS=-O2;
fi
UNAME=`uname` UNAME=`uname`
HOSTNAME=`hostname` HOSTNAME=`hostname`
......
dnl $Id: configure.in,v 1.154 2008-04-28 10:10:51 geuzaine Exp $ dnl $Id: configure.in,v 1.155 2008-04-29 19:12:38 geuzaine Exp $
dnl dnl
dnl Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle dnl Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
dnl dnl
...@@ -146,6 +146,27 @@ AC_ARG_ENABLE(universal, ...@@ -146,6 +146,27 @@ AC_ARG_ENABLE(universal,
AC_ARG_ENABLE(native-file-chooser, AC_ARG_ENABLE(native-file-chooser,
AC_HELP_STRING([--enable-native-file-chooser], AC_HELP_STRING([--enable-native-file-chooser],
[enable native file chooser (default=yes, except on Linux)])) [enable native file chooser (default=yes, except on Linux)]))
AC_ARG_ENABLE(minimal,
AC_HELP_STRING([--enable-minimal],
[build minimal standalone version (default=no)]))
dnl "minimal" build shortcut
if test "x$enable_minimal" = "xyes"; then
enable_gui=no;
enable_post=no;
enable_gsl=no;
# enable_occ=no;
enable_fm=no;
enable_netgen=no;
enable_tetgen=no;
enable_matheval=no;
enable_ann=no;
enable_metis=no;
enable_med=no;
enable_cgns=no;
enable_zlib=no;
CXXFLAGS=-O2;
fi
dnl Get the operating system and machine names dnl Get the operating system and machine names
UNAME=`uname` UNAME=`uname`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment