修复cmake下门禁失败用例
This commit is contained in:
@ -10,6 +10,12 @@ execute_process(
|
||||
OUTPUT_VARIABLE PARSER_GRAM
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND sed -i "s/\# define YYINITDEPTH .*/\# define YYINITDEPTH 1000/g" gram.cpp
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
OUTPUT_VARIABLE PARSER_GRAM
|
||||
)
|
||||
|
||||
execute_process(
|
||||
COMMAND bison -d -o hint_gram.cpp hint_gram.y
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
||||
Reference in New Issue
Block a user