Meson not respecting config dependent generator expressions in INTERFACE_LINK_LIBRARIES from CMake dependencies.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.6k
- Forks
- 1.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 33
Description
Similar to `IMPORTED_LOCATION_`
If INTERACE_LINK_LIBRARIES contains generator expressions like, e.g.:
```
INTERFACE_LINK_LIBRARIES "\$<\$>:${_IMPORT_PREFIX}/lib/freetype.lib>;\$<\$:${_IMPORT_PREFIX}/debug/lib/freetyped.lib>
```
Meson has to extract the correct dependency depending on the configuration. Basically the same logic has for `IMPORTED_LOCATION_` needs to be used.
cc @mensinda
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the existing handling for IMPORTED_LOCATION_ and the CMake dependency import path for INTERFACE_LINK_LIBRARIES. Trace how the shown generator expressions are evaluated for the active configuration, then verify that debug and non-debug configurations select the corresponding library dependency.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100