tpoechtrager / wclang

Cross compile source code easily for Windows with clang on Linux/Unix

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does wclang work with CMake?

ArcaneEngineer opened this issue · comments

commented

README mentions:

"Wclang detects the target and headers automatically and adds them to the clang invocation command."

I'm new to CMake but it does some fiddling of its own, with compiler and linker flags, from what I can see. So far I cannot get CMake to generate a makefile that actually works - there are several discrepancies between running wclang as suggested in the README - which works for me just fine - and using CMake to invoke wclang.

commented

Can't get -L to work via CMake, causing the issue, so closing as this has nothing to do with wclang.