From 404826e78a56e15e20d3938aed80945295921745 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sat, 22 Jun 2024 16:45:04 -0600 Subject: Add parser --- src/CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 89b60e6..9265ad8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -11,7 +11,16 @@ target_include_directories(Pico-I2C-LCD INTERFACE ../libs/Pico-I2C-LCD/) target_include_directories(Pico-I2C-LCD PUBLIC ../libs/Pico-I2C-LCD/) # Main executable -add_executable(pico-calc pico-calc.cpp calculator.cpp tokenizer.cpp) +add_executable(pico-calc pico-calc.cpp + calculator.cpp + tokenizer.cpp + operand.cpp + syntax_tree.cpp + sum.cpp + substraction.cpp + product.cpp +) target_link_libraries(pico-calc hardware_i2c Pico-I2C-LCD pico-keypad hardware_timer) target_include_directories(pico-calc PUBLIC include exceptions) +pico_add_extra_outputs(pico-calc) -- cgit v1.2.3