From 6498a968cd34e49e355cc0765ca2dafb842bc12b Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sat, 27 Sep 2014 18:36:56 +0200 Subject: Added argument and tree export mode to frontend * arguments are managed through boost::program_options * default continues to be the REPL * "--tree" argument switches from calculation to tree export * "--input" may be used to pass terms to be evaluated via CLI arguments ** disables REPL --- CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index dabc978..763be29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ add_library( ) add_executable( - test + tests test.cc ) @@ -26,7 +26,7 @@ add_executable( ) target_link_libraries( - test + tests SimpleParser gtest ) @@ -34,9 +34,10 @@ target_link_libraries( target_link_libraries( clc SimpleParser + boost_program_options ) add_custom_command( - TARGET test - POST_BUILD COMMAND ./test + TARGET tests + POST_BUILD COMMAND ./tests ) -- cgit v1.2.3