Changes in / [315:c175e387da19:314:2cc60866a0c9] in lemon-1.1
- Files:
-
- 2 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r310 r227 25 25 bin_PROGRAMS = 26 26 check_PROGRAMS = 27 dist_bin_SCRIPTS =28 27 TESTS = 29 28 XFAIL_TESTS = … … 33 32 include doc/Makefile.am 34 33 include demo/Makefile.am 34 include benchmark/Makefile.am 35 35 include tools/Makefile.am 36 36 -
README
r310 r246 38 38 Contains programs to check the integrity and correctness of LEMON. 39 39 40 benchmark/ 41 42 Contains programs for measuring the performance of algorithms. 43 40 44 tools/ 41 45 -
configure.ac
r310 r296 82 82 AM_CONDITIONAL([WANT_TOOLS], [test x"$enable_tools" != x"no"]) 83 83 84 dnl Disable/enable building the benchmarks. 85 AC_ARG_ENABLE([benchmark], 86 AS_HELP_STRING([--enable-benchmark], [build the benchmarks]) 87 AS_HELP_STRING([--disable-benchmark], [do not build the benchmarks @<:@default@:>@]), 88 [], [enable_benchmark=no]) 89 AC_MSG_CHECKING([whether to build the benchmarks]) 90 if test x"$enable_benchmark" != x"no"; then 91 AC_MSG_RESULT([yes]) 92 else 93 AC_MSG_RESULT([no]) 94 fi 95 AM_CONDITIONAL([WANT_BENCHMARK], [test x"$enable_benchmark" != x"no"]) 96 84 97 dnl Checks for header files. 85 98 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) … … 120 133 #echo SOPLEX support................ : $lx_soplex_found 121 134 #echo 135 echo Build benchmarks.............. : $enable_benchmark 122 136 echo Build demo programs........... : $enable_demo 123 137 echo Build additional tools........ : $enable_tools -
demo/arg_parser_demo.cc
r311 r209 28 28 29 29 using namespace lemon; 30 int main(int argc, c har **argv)30 int main(int argc, const char **argv) 31 31 { 32 32 // Initialize the argument parser -
lemon/arg_parser.cc
r311 r214 27 27 } 28 28 29 ArgParser::ArgParser(int argc, const char * const *argv)30 :_argc(argc), _argv(argv),_command_name(argv[0]) {29 ArgParser::ArgParser(int argc, const char **argv) :_argc(argc), _argv(argv), 30 _command_name(argv[0]) { 31 31 funcOption("-help","Print a short help message",_showHelp,this); 32 32 synonym("help","-help"); 33 33 synonym("h","-help"); 34 34 35 } 35 36 -
lemon/arg_parser.h
r311 r290 47 47 48 48 int _argc; 49 const char * const*_argv;49 const char **_argv; 50 50 51 51 enum OptType { UNKNOWN=0, BOOL=1, STRING=2, DOUBLE=3, INTEGER=4, FUNC=5 }; … … 120 120 121 121 ///Constructor 122 ArgParser(int argc, const char * const*argv);122 ArgParser(int argc, const char **argv); 123 123 124 124 ~ArgParser(); -
tools/Makefile.am
r310 r146 2 2 3 3 bin_PROGRAMS += 4 dist_bin_SCRIPTS += tools/lemon-0.x-to-1.x.sh5 4 6 5 endif WANT_TOOLS
Note: See TracChangeset
for help on using the changeset viewer.