Remove interpreter <- parser dependency
This commit is contained in:
parent
9826961c76
commit
d64b6db229
3 changed files with 2 additions and 4 deletions
|
|
@ -3,4 +3,4 @@ file(GLOB_RECURSE PSLI_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp")
|
||||||
|
|
||||||
add_executable(psli ${PSLI_HEADERS} ${PSLI_SOURCES})
|
add_executable(psli ${PSLI_HEADERS} ${PSLI_SOURCES})
|
||||||
target_include_directories(psli PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
target_include_directories(psli PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||||
target_link_libraries(psli PUBLIC pslang-interpreter)
|
target_link_libraries(psli PUBLIC pslang-parser pslang-interpreter)
|
||||||
|
|
|
||||||
|
|
@ -3,4 +3,4 @@ file(GLOB_RECURSE PSLANG_INTERPRETER_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/source
|
||||||
|
|
||||||
add_library(pslang-interpreter STATIC ${PSLANG_INTERPRETER_HEADERS} ${PSLANG_INTERPRETER_SOURCES})
|
add_library(pslang-interpreter STATIC ${PSLANG_INTERPRETER_HEADERS} ${PSLANG_INTERPRETER_SOURCES})
|
||||||
target_include_directories(pslang-interpreter PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
target_include_directories(pslang-interpreter PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||||
target_link_libraries(pslang-interpreter PUBLIC pslang-parser)
|
target_link_libraries(pslang-interpreter PUBLIC pslang-ast)
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,6 @@
|
||||||
#include <pslang/ast/expression.hpp>
|
#include <pslang/ast/expression.hpp>
|
||||||
#include <pslang/type/print.hpp>
|
#include <pslang/type/print.hpp>
|
||||||
|
|
||||||
#include <pslang/parser/error.hpp>
|
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue