Ryan Liptak ddde99bdfa Build system: Allow specifying Win32 resource include paths using LazyPath
Adds an `include_paths` field to RcSourceFile that takes a slice of LazyPaths. The paths are resolved and subsequently appended to the -rcflags as `/I <resolved path>`.

This fixes an accidental regression from https://github.com/ziglang/zig/pull/19174. Before that PR, all Win32 resource compilation would inherit the CC flags (via `addCCArgs`), which included things like include directories. After that PR, though, that is no longer the case.

However, this commit intentionally does not restore the previous behavior (inheriting the C include paths). Instead, each .rc file will need to have its include paths specified directly and the include paths only apply to one particular resource script. This allows more fine-grained control and has less potentially surprising behavior (at the cost of some convenience).

Closes #19605
2024-05-22 06:58:09 -07:00
..
2024-03-19 11:45:09 -07:00
2024-03-29 22:15:17 -07:00
2024-03-20 21:05:35 -07:00
2024-03-21 14:11:46 -07:00
2024-02-23 02:37:11 -07:00
2024-04-13 01:35:20 -04:00
2024-03-19 11:45:09 -07:00
2024-03-21 14:11:46 -07:00
2024-04-23 17:22:04 -07:00
2024-03-21 14:11:46 -07:00
2024-03-15 02:28:50 -04:00
2024-03-10 18:13:30 -07:00
2024-03-21 14:11:46 -07:00
2024-03-19 11:45:09 -07:00
2024-03-23 18:11:32 +01:00
2024-03-10 18:13:30 -07:00
2024-04-11 23:33:38 -07:00
2024-03-19 11:45:09 -07:00
2024-03-10 18:13:30 -07:00
2024-03-21 14:11:46 -07:00
2024-04-24 13:45:18 -07:00
2024-03-19 16:18:18 -07:00
2024-02-05 11:55:14 +03:30
2024-03-19 11:45:09 -07:00
2024-04-10 02:11:54 -07:00
2023-10-25 04:28:30 -04:00
2024-02-09 14:02:57 -08:00
2024-04-17 13:41:25 +01:00
2024-04-15 15:24:30 -07:00
2024-03-19 16:18:18 -07:00
2024-03-19 11:45:09 -07:00
2024-02-08 15:39:28 +01:00
2024-03-10 18:13:30 -07:00
2024-03-21 14:11:46 -07:00
2024-03-30 20:50:48 -04:00
2024-03-19 11:45:09 -07:00
2024-03-21 14:11:46 -07:00
2024-04-23 17:16:08 -07:00
2024-03-21 14:11:46 -07:00
2023-10-21 21:24:55 +00:00