mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2025-12-06 06:58:45 +00:00
debug
This commit is contained in:
parent
582ad5668e
commit
0d62ae0814
29 changed files with 99479 additions and 1166 deletions
|
|
@ -8,10 +8,18 @@ find_package(Catch2 2 REQUIRED)
|
|||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
|
||||
|
||||
include_directories(include)
|
||||
include(tree_sitter/api.h)
|
||||
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)
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue