mirror of
https://github.com/reactos/reactos.git
synced 2025-08-08 13:13:20 +00:00
[CMAKE] Generate Flex and Bison files at build time
We have Flex and Bison distributed along with RosBE 2.2 so this should not be a problem
This commit is contained in:
parent
91fceab36e
commit
5375e33490
44 changed files with 54 additions and 68683 deletions
|
@ -10,6 +10,10 @@ if(MSVC)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
FLEX_TARGET(p_scanner parser.l ${CMAKE_CURRENT_BINARY_DIR}/parser.yy.c)
|
||||
BISON_TARGET(p_parser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.tab.c COMPILE_FLAGS "-p parser_")
|
||||
ADD_FLEX_BISON_DEPENDENCY(p_scanner p_parser)
|
||||
|
||||
list(APPEND SOURCE
|
||||
client.c
|
||||
expr.c
|
||||
|
@ -25,8 +29,8 @@ list(APPEND SOURCE
|
|||
widl.c
|
||||
write_msft.c
|
||||
write_sltg.c
|
||||
parser.yy.c
|
||||
parser.tab.c
|
||||
${FLEX_p_scanner_OUTPUTS}
|
||||
${BISON_p_parser_OUTPUTS}
|
||||
../port/getopt.c
|
||||
../port/getopt1.c
|
||||
../port/mkstemps.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue