mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 02:11:58 +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=
|
||||
else
|
||||
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)
|
||||
eat=1
|
||||
func_file_conv "$2"
|
||||
|
Loading…
x
Reference in New Issue
Block a user