lefdef: Don't move generated tab.hpp files

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
Myrtle Shah 2021-09-09 21:03:26 +01:00
parent fd2c92f442
commit 9f9ad61ee7
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
add_custom_command ( OUTPUT def.tab.cpp add_custom_command ( OUTPUT def.tab.cpp
DEPENDS ${DefParserGrammar} DEPENDS ${DefParserGrammar}
COMMAND ${BISON_EXECUTABLE} -v -p defyy -d ${DefParserGrammar} -o def.tab.cpp COMMAND ${BISON_EXECUTABLE} -v -p defyy -d ${DefParserGrammar} -o def.tab.cpp
COMMAND mv def.tab.hpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.h #COMMAND mv def.tab.hpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.h
#COMMAND mv def.tab.cpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.cpp #COMMAND mv def.tab.cpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.cpp
COMMENT "Generating DEF parser (bison)" COMMENT "Generating DEF parser (bison)"
) )

View File

@ -61,7 +61,7 @@
add_custom_command ( OUTPUT lef.tab.cpp add_custom_command ( OUTPUT lef.tab.cpp
DEPENDS ${LefParserGrammar} DEPENDS ${LefParserGrammar}
COMMAND ${BISON_EXECUTABLE} -v -p lefyy -d ${LefParserGrammar} -o lef.tab.cpp COMMAND ${BISON_EXECUTABLE} -v -p lefyy -d ${LefParserGrammar} -o lef.tab.cpp
COMMAND mv lef.tab.hpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.h #COMMAND mv lef.tab.hpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.h
#COMMAND mv lef.tab.cpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.cpp #COMMAND mv lef.tab.cpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.cpp
COMMENT "Generating LEF parser (bison)" COMMENT "Generating LEF parser (bison)"
) )