Parsing correction (issue #4) using Boost_Program_Options.

Dependencies: Boost (boost::program_options, boost::variant, boost::any).

Test is ok: required arguments have to be given in command line
(go check t-eoParserBoost: e.g.
    $> ./test/eo/t-eoParserBoost --alpha6=6 --alpha4).
This commit is contained in:
Adèle Harrissart 2014-10-05 22:26:56 +02:00
commit 8c078b685e
6 changed files with 932 additions and 0 deletions

View file

@ -79,6 +79,11 @@ if(ENABLE_CXX11_RANDOM)
endif(ENABLE_CXX11_RANDOM)
if(Boost_FOUND)
message("add t-eoParserBoost to TEST_LIST (see: /test/eo/CMakeLists.txt)")
set (TEST_LIST ${TEST_LIST} t-eoParserBoost) # test the new parser with Boost
endif(Boost_FOUND)
foreach (test ${TEST_LIST})
set ("T_${test}_SOURCES" "${test}.cpp")
endforeach (test)