mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 06:02:07 +00:00
[CMAKE] Prevent out-of-bound accesses in parser/lexer files
which try to remove path prefix from them.
This commit is contained in:
parent
15a828c86d
commit
09c4d0a74b
7 changed files with 26 additions and 0 deletions
|
@ -35,6 +35,9 @@ list(APPEND SOURCE
|
|||
vbarray.c
|
||||
precomp.h)
|
||||
|
||||
# cc_parser.tab.c/parser.tab.c have been generated with relative file paths...
|
||||
set_source_files_properties(cc_parser.tab.c parser.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||
|
||||
list(APPEND jscript_rc_deps
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/jscript.rgs
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/jscript_classes.rgs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue