Open nomis opened 3 years ago
@nomis is this still an issue?
@nomis is this still an issue?
Yes, it's still an issue with Meson 0.61.5
Unfortunately there aren't many Meson developers that regularly contribute that use both Windows and mingw. Do you think you might be able to find some time to work on this issue? I am sure it would be very much appreciated!
Describe the bug My resource file
#include
s a generated resource file. The automatic include path for this is not specified correctly for use on Windows.To Reproduce Remove
include_directories
from https://github.com/nomis/qmk-hid-identify/blob/062fff8f123a0724fd4db57e84c05567d9cd98df/windows/meson.build#L22 and build on Windows with mingw64.Meson uses the path
./
as an include path which doesn't work as intended:Expected behavior Meson should use the correct include path for the dependency.
System parameters
Ninja build file (native and cross-compile from Linux) Resource file with no dependencies:
Resource file with dependency adds build directory to the path but
-I./
does not work on the Windows build of windres:Resource file with dependency and
'.'
in the include path adds source and build directory to the path in a way that does work on the Windows build of windres:Using either
.
or./.
or.\.
works but./
and.\
do not.