> BTW, what exactly is the "Windows-native tool"? A tool built to run on Microsoft's CRT, so not a Cygwin program.
> So, shouldn't you be complaining abount PowerShell as well? I'm only using CMD as a launcher here (and made sure it does not modify the input in unexpected ways). This is not about how a shell treats commands, it's just about how a command line is interpreted by the launched process. I validated this with Sysinternals Process Monitor. > Isn't that the responsibility of the "Windows-native tool"? If it invokes > cygwin build tool, it should pass the arguments in a way that conforms to > cygwin's conventions. CMake is not aware that it needs to generate Ninjafiles/Makefiles for Cygwin programs and currently can't be made aware AFAIK. I had to resort to a hack involving using undocumented CMAKE_<LANG>_COMPILER_ARG1 variables and a custom launcher tool that rewrites the command line. I wish I did not have to venture into unsupported/undocumented territory here. Best regards Oliver Old ________________________________ LÖWEN ENTERTAINMENT GmbH • Saarlandstraße 240 • 55411 Bingen am Rhein • Geschäftsführung: Christian Arras (Vorsitzender), Oliver Bagus, Dr. Daniel Henzgen • Vorsitz im Aufsichtsrat: Uwe Christiansen • Amtsgericht Mainz • HRB 23327 • USt.-IdNr. DE148266135 • WEEE-Reg.-Nr. DE 53361450 • Tel.: +49 6721 407 0 • E-Mail: i...@loewen.de -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple