Replace object parser with lalr library

This commit is contained in:
Ilusha 2024-03-07 12:33:46 +03:00
parent 3ba4bef93b
commit f666416696
13 changed files with 499 additions and 995 deletions

View file

@ -1,13 +1,17 @@
project(Objects)
### ---------------------- Externals --------------------- ###
set(BINDINGS_INCLUDE ../Externals/lalr/src)
# set(BINDINGS_LIBS )
### ---------------------- Static Library --------------------- ###
file(GLOB SOURCES "./private/*.cpp" "./private/*/*.cpp")
file(GLOB HEADERS "./public/*.hpp" "./public/*/*.hpp" "./applications/*.hpp")
add_library(${PROJECT_NAME} STATIC ${SOURCES} ${HEADERS})
target_include_directories(${PROJECT_NAME} PUBLIC ./public/)
target_link_libraries(${PROJECT_NAME} PUBLIC Strings Math Tokenizer CommandLine Connection)
target_include_directories(${PROJECT_NAME} PUBLIC ./public/ ${BINDINGS_INCLUDE})
target_link_libraries(${PROJECT_NAME} PUBLIC Strings Math Connection)
### -------------------------- Applications -------------------------- ###
#add_executable(osc ./applications/Compiler.cpp)