You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Unmapped target: `{name}_unmapped` - Shared headers without component-specific directories
345
+
- Component targets: `{name}_{ComponentName}` - Component-specific code with includes
346
+
347
+
The unmapped target provides access to shared generated headers (GenData directory) that are not filtered to any component-specific header directories. This is useful for Gendata, that cannot be filtered that easily.
345
348
346
349
Example:
347
350
```python
@@ -353,10 +356,16 @@ cfg5_generate_rt(
353
356
354
357
# Creates targets:
355
358
# - :bsw (all code)
356
-
# - :bsw_CanIf (CanIf only)
357
-
# - :bsw_Com (Com only)
359
+
# - :bsw_unmapped (shared headers only)
360
+
# - :bsw_CanIf (CanIf headers and sources)
361
+
# - :bsw_Com (Com headers and sources)
358
362
```
359
363
364
+
**Include Path Behavior:**
365
+
-**Main target** (`bsw`): Provides all headers and all component-specific include directories
366
+
-**Unmapped target** (`bsw_unmapped`): Provides only shared GenData includes (no component-specific directories)
367
+
-**Component targets** (`bsw_CanIf`, `bsw_Com`): Each provides its own component headers plus shared GenData includes
368
+
360
369
### File Filtering
361
370
362
371
Control which files are included/excluded from generation:
0 commit comments