Make a link instead of a move in LEF/DEF parsers CMakeLists.

This commit is contained in:
Jean-Paul Chaput 2021-10-18 18:35:29 +02:00
parent 5343f9c98b
commit c8fd3c0bec
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
add_custom_command ( OUTPUT def.tab.cpp
DEPENDS ${DefParserGrammar}
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 ln -s def.tab.hpp def.tab.h
#COMMAND mv def.tab.cpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.cpp
COMMENT "Generating DEF parser (bison)"
)

View File

@ -61,7 +61,7 @@
add_custom_command ( OUTPUT lef.tab.cpp
DEPENDS ${LefParserGrammar}
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 ln -s lef.tab.hpp lef.tab.h
#COMMAND mv lef.tab.cpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.cpp
COMMENT "Generating LEF parser (bison)"
)