COIN-OR::LEMON - Graph Library

Changeset 1863:12e0db6b7d0e in lemon-0.x


Ignore:
Timestamp:
12/18/05 04:01:53 (18 years ago)
Author:
Akos Ladanyi
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2435
Message:

Demos and benchmarks are not built by default now. They can be enabled with the --enable-demo and --enable-benchmark configure flags.

Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    r1688 r1863  
    66        autopackage/default.apspec.in \
    77        config/lx_check_cplex.m4 \
    8         config/lx_check_glpk.m4 \
    9         config/lx_enable_doc.m4 \
    10         config/lx_enable_gui.m4
     8        config/lx_check_glpk.m4
    119
    1210if WANT_DOC
     
    1614  MAYBE_GUI = gui
    1715endif
     16if WANT_DEMO
     17  MAYBE_DEMO = demo
     18endif
     19if WANT_BENCHMARK
     20  MAYBE_BENCHMARK = benchmark
     21endif
    1822
    19 SUBDIRS = lemon benchmark demo $(MAYBE_GUI) $(MAYBE_DOC) test
     23SUBDIRS = lemon $(MAYBE_BENCHMARK) $(MAYBE_DEMO) $(MAYBE_GUI) $(MAYBE_DOC) test
    2024
    2125MRPROPERFILES = \
  • configure.ac

    r1671 r1863  
    2424LX_CHECK_CPLEX
    2525
    26 LX_ENABLE_DOC
    27 LX_ENABLE_GUI
     26dnl Enable/disable installing the documentation
     27AC_ARG_ENABLE([doc],
     28AS_HELP_STRING([--enable-doc@<:@=yes|no|full@:>@], [build the documentation (full enables internal documentation too) @<:@default=yes@:>@])
     29AS_HELP_STRING([--disable-doc], [do not build the documentation]),
     30              [], [enable_doc=yes])
     31
     32AC_MSG_CHECKING([whether to build the documention])
     33case "$enable_doc" in
     34  yes)
     35    DOXYGEN_INTERNAL_DOCS=NO
     36    AC_MSG_RESULT([yes])
     37    ;;
     38  full)
     39    DOXYGEN_INTERNAL_DOCS=YES
     40    AC_MSG_RESULT([full])
     41    ;;
     42  no)
     43    DOXYGEN_INTERNAL_DOCS=NO
     44    AC_MSG_RESULT([no])
     45    ;;
     46  *)
     47    AC_MSG_ERROR([bad value $enable_doc for option --enable-doc])
     48    ;;
     49esac
     50AC_SUBST(DOXYGEN_INTERNAL_DOCS)
     51AM_CONDITIONAL([WANT_DOC], [test x"$enable_doc" != x"no"])
     52
     53dnl Disable/enable building the GUI
     54AC_ARG_ENABLE([gui],
     55AS_HELP_STRING([--enable-gui], [build the GUI])
     56AS_HELP_STRING([--disable-gui], [do not build the GUI @<:@default@:>@]),
     57              [], [enable_gui=no])
     58AC_MSG_CHECKING([whether to build the GUI])
     59if test x"$enable_gui" != x"no"; then
     60  AC_MSG_RESULT([yes])
     61else
     62  AC_MSG_RESULT([no])
     63fi
     64if test x"$enable_gui" != x"no"; then
     65  PKG_CHECK_MODULES([GTK], [libgnomecanvasmm-2.6 >= 2.6.0])
     66fi
     67AM_CONDITIONAL([WANT_GUI], [test x"$enable_gui" != x"no"])
     68
     69dnl Disable/enable building the demo programs
     70AC_ARG_ENABLE([demo],
     71AS_HELP_STRING([--enable-demo], [build the demo programs])
     72AS_HELP_STRING([--disable-demo], [do not build the demo programs @<:@default@:>@]),
     73              [], [enable_demo=no])
     74AC_MSG_CHECKING([whether to build the demo programs])
     75if test x"$enable_demo" != x"no"; then
     76  AC_MSG_RESULT([yes])
     77else
     78  AC_MSG_RESULT([no])
     79fi
     80AM_CONDITIONAL([WANT_DEMO], [test x"$enable_demo" != x"no"])
     81
     82dnl Disable/enable building the benchmarks
     83AC_ARG_ENABLE([benchmark],
     84AS_HELP_STRING([--enable-benchmark], [build the benchmarks])
     85AS_HELP_STRING([--disable-benchmark], [do not build the benchmarks @<:@default@:>@]),
     86              [], [enable_benchmark=no])
     87AC_MSG_CHECKING([whether to build the benchmarks])
     88if test x"$enable_benchmark" != x"no"; then
     89  AC_MSG_RESULT([yes])
     90else
     91  AC_MSG_RESULT([no])
     92fi
     93AM_CONDITIONAL([WANT_BENCHMARK], [test x"$enable_benchmark" != x"no"])
     94
     95dnl Checks for header files.
     96AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h)
    2897
    2998dnl Checks for header files.
     
    53122test/Makefile
    54123gui/Makefile
    55 gui/icons/Makefile
    56124])
    57125
     
    69137echo CPLEX support................. : $lx_cplex_found
    70138echo
     139echo build benchmarks.............. : $enable_benchmark
     140echo build demo programs........... : $enable_demo
    71141echo build GUI..................... : $enable_gui
    72142echo
Note: See TracChangeset for help on using the changeset viewer.