fix fatal errors, ready to do semantic check

This commit is contained in:
2024-08-12 03:13:10 +00:00
parent 9aa23caaa9
commit bbdf755d83
8 changed files with 337 additions and 293 deletions

View File

@ -1,7 +1,7 @@
add_subdirectory(ast)
add_subdirectory(semantic)
add_executable(code main.cpp)
target_link_libraries(code semantic argparse)
set_target_properties(code PROPERTIES
add_executable(zmxcc main.cpp)
target_link_libraries(zmxcc semantic argparse)
set_target_properties(zmxcc PROPERTIES
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}"
)