Make a link instead of a move in LEF/DEF parsers CMakeLists.
This commit is contained in:
parent
5343f9c98b
commit
c8fd3c0bec
|
@ -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)"
|
||||
)
|
||||
|
|
|
@ -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)"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue