← All tasks
cppwxWidgets/wxWidgets #25709Not a task: not reproduced

When building Debug libraries with cmake wxwebpd.lib (wxwebp.lib with a 'd') is not generated on windows

envgap__wxWidgets__wxWidgets-25709

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
365b07b75fb0b3e58f31468eda26727a57409141
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

wxWidgets/wxWidgets #25709 · read the original issue
### Description
When building Debug libraries with cmake wxwebpd.lib (wxwebp.lib with a 'd') is not generated on windows

#### Bug description:

When building Debug libraries with cmake wxwebpd.lib (wxwebp.lib with a 'd') is not generated on windows
CMake args:
```
      -DCMAKE_BUILD_TYPE:STRING=DEBUG
      -DwxBUILD_SHARED:BOOL=FALSE
```
#### Expected vs observed behaviour:

wxwebp.lib is generated for both release and debug cmake build types

I expected wxwebpd.lib to get generated similar to the other libraries like wxtiffd.lib/wxtiff.lib

the setup.h header does a #pragma comment link with the 'd' appended:

```
#define wx3RD_PARTY_LIB_NAME(name) "wx" name wxSUFFIX_DEBUG
#if wxUSE_LIBWEBP && !defined(wxNO_WEBP_LIB)
	#pragma comment(lib, wx3RD_PARTY_LIB_NAME("webp"))
#endif
```

### Platform and version information

- wxWidgets version 3.3.1
- wxWidgets port wxMSW
- OS Windows 11
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]