Changes in / [314:2cc60866a0c9:315:c175e387da19] in lemon-main
- Files:
-
- 1 added
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r227 r310 25 25 bin_PROGRAMS = 26 26 check_PROGRAMS = 27 dist_bin_SCRIPTS = 27 28 TESTS = 28 29 XFAIL_TESTS = … … 32 33 include doc/Makefile.am 33 34 include demo/Makefile.am 34 include benchmark/Makefile.am35 35 include tools/Makefile.am 36 36 -
README
r246 r310 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 44 40 tools/ 45 41 -
configure.ac
r296 r310 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"; then91 AC_MSG_RESULT([yes])92 else93 AC_MSG_RESULT([no])94 fi95 AM_CONDITIONAL([WANT_BENCHMARK], [test x"$enable_benchmark" != x"no"])96 97 84 dnl Checks for header files. 98 85 AC_CHECK_HEADERS(limits.h sys/time.h sys/times.h unistd.h) … … 133 120 #echo SOPLEX support................ : $lx_soplex_found 134 121 #echo 135 echo Build benchmarks.............. : $enable_benchmark136 122 echo Build demo programs........... : $enable_demo 137 123 echo Build additional tools........ : $enable_tools -
demo/arg_parser_demo.cc
r209 r311 28 28 29 29 using namespace lemon; 30 int main(int argc, c onst char **argv)30 int main(int argc, char **argv) 31 31 { 32 32 // Initialize the argument parser -
lemon/arg_parser.cc
r214 r311 27 27 } 28 28 29 ArgParser::ArgParser(int argc, const char * *argv) :_argc(argc), _argv(argv),30 29 ArgParser::ArgParser(int argc, const char * const *argv) 30 :_argc(argc), _argv(argv), _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 35 34 } 36 35 -
lemon/arg_parser.h
r290 r311 47 47 48 48 int _argc; 49 const char * *_argv;49 const char * const *_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 * *argv);122 ArgParser(int argc, const char * const *argv); 123 123 124 124 ~ArgParser(); -
tools/Makefile.am
r146 r310 2 2 3 3 bin_PROGRAMS += 4 dist_bin_SCRIPTS += tools/lemon-0.x-to-1.x.sh 4 5 5 6 endif WANT_TOOLS
Note: See TracChangeset
for help on using the changeset viewer.