mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 11:21:12 +08:00
[windres-rc] support --define, --include-dir (#26454)
* [windres-rc] support --define, --include-dir * [windres-rc] treat --include-dir with func_file_conv()
This commit is contained in:
parent
5bb60c0580
commit
e5eb2da7fb
11
scripts/buildsystems/make_wrapper/windres-rc
Normal file → Executable file
11
scripts/buildsystems/make_wrapper/windres-rc
Normal file → Executable file
@ -68,6 +68,17 @@ func_windres_wrapper ()
|
|||||||
eat=
|
eat=
|
||||||
else
|
else
|
||||||
case $1 in
|
case $1 in
|
||||||
|
--define*)
|
||||||
|
eat=1
|
||||||
|
set x "$@" "-d $2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
--include-dir*)
|
||||||
|
eat=1
|
||||||
|
func_file_conv "$2"
|
||||||
|
set x "$@" "-I $file"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
-o)
|
-o)
|
||||||
eat=1
|
eat=1
|
||||||
func_file_conv "$2"
|
func_file_conv "$2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user