cmake_minimum_required(VERSION 3.10) project(LangInterpreter) set(CMAKE_CXX_STANDARD 17) find_package(Catch2 2 REQUIRED) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") include_directories(include tree-sitter/lib/src tree-sitter/lib/include) # add_executable(interpreter_tests tests/tests.cpp) # target_link_libraries(tests PRIVATE Catch2::Catch2WithMain) add_executable(lang_interpreter src/main.cpp src/visitor.cpp src/build_visitor.cpp src/print_visitor.cpp src/parser.c include/parser.h tree-sitter/lib/src/lib.c)