mstorsjo/msvc-wine

MS CMake support

Opened this issue · 2 comments

First of all, thanks for this amazing project.

Has anyone figure out how to get cmake support working?
I know there is cmake on the linux side, but installing the microsoft distributed cmake would allow using the generator for VS's msbuild, which is needed in certain situations.

I have installed the cmake.exe using --include-optional, and then it is located somewhere in my /opt/msvc location, but when I try to run wine64 $some_long_path/cmake.exe I get

ShellExecuteEx failed: File not found.

Apparently it installed a binary for ARM64. I didn't even know Windows on ARM64 is a thing, who uses that?
Anyway I will look for a way to install the normal x64 cmake.

Ahh I realized I can install cmake from the official website. Now that runs, but the VS Studio installation is not recognized. Do I have to install it twice? One time in /opt/msvc and one time in ~/.wine