Link is not enough, copy & duplicate tab files for LEF & DEF.
This commit is contained in:
parent
c8fd3c0bec
commit
180aa52c74
|
@ -81,7 +81,8 @@
|
|||
add_custom_command ( OUTPUT def.tab.cpp
|
||||
DEPENDS ${DefParserGrammar}
|
||||
COMMAND ${BISON_EXECUTABLE} -v -p defyy -d ${DefParserGrammar} -o def.tab.cpp
|
||||
COMMAND ln -s def.tab.hpp def.tab.h
|
||||
COMMAND cp def.tab.hpp ${LEFDEF_SOURCE_DIR}/def.tab.hpp
|
||||
COMMAND cp def.tab.hpp ${LEFDEF_SOURCE_DIR}/def.tab.h
|
||||
#COMMAND mv def.tab.cpp ${LEFDEF_SOURCE_DIR}/src/def/def/def.tab.cpp
|
||||
COMMENT "Generating DEF parser (bison)"
|
||||
)
|
||||
|
|
|
@ -61,8 +61,8 @@
|
|||
add_custom_command ( OUTPUT lef.tab.cpp
|
||||
DEPENDS ${LefParserGrammar}
|
||||
COMMAND ${BISON_EXECUTABLE} -v -p lefyy -d ${LefParserGrammar} -o lef.tab.cpp
|
||||
COMMAND ln -s lef.tab.hpp lef.tab.h
|
||||
#COMMAND mv lef.tab.cpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.cpp
|
||||
COMMAND cp lef.tab.hpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.hpp
|
||||
COMMAND cp lef.tab.hpp ${LEFDEF_SOURCE_DIR}/src/lef/lef/lef.tab.h
|
||||
COMMENT "Generating LEF parser (bison)"
|
||||
)
|
||||
set_source_files_properties ( lef.tab.cpp GENERATED )
|
||||
|
|
Loading…
Reference in New Issue