refactor(frontend): 添加对只编译前端的支持
This commit is contained in:
@@ -37,6 +37,8 @@ if(COMPILER_ENABLE_WARNINGS)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
option(COMPILER_PARSE_ONLY "Build only the frontend parser pipeline" OFF)
|
||||
|
||||
# 使用仓库内 third_party 提供的 ANTLR4 C++ runtime(较新版本)
|
||||
# third_party 目录结构以仓库为准:runtime 源码位于 third_party/antlr4-runtime-4.13.2/runtime/src
|
||||
set(ANTLR4_RUNTIME_SRC_DIR "${PROJECT_SOURCE_DIR}/third_party/antlr4-runtime-4.13.2/runtime/src")
|
||||
|
||||
Reference in New Issue
Block a user