Wildcard expansion doesn't work on windows shell

I love what you guys are doing with clang - looking forward to being able to use the same compiler on windows and linux easily! The ultimate would be if you could use clang to compile extensions for windows, linux, and osx using the same compiler. That’s my primary use case.

One thing on windows that is REALLY annoying is that we can’t do something like

clang++ -shared -o CoolProp.dll *.o

since wildcard expansion doesn’t work. FYI, my clang:

C:\Users\Belli>clang++ --version
clang version 3.4 (198054)
Target: i686-pc-mingw32
Thread model: posix

If you could fix this, it would be so nice, and we wouldn’t have to write code like

set objs=
for %%f in (*.o) do (
set objs=%objs% %%f
)
clang++ -shared -o CoolProp.dll %objs%

every time!

Keep up the great work!

Kind Regards,
Ian

Hi Ian,

Hi Hans,

I have cc-ed the issue. I don't know that I have the requisite skills to
put together a patch, so I might have to patiently wait.

Regards,
Ian