I read that Visual Studio
now supports cross-platform development. I'm using CMake
to compile for Windows
and Ubuntu
(using WSL
) so far. However there doesn't seem to be any information on how to actually accomplish the cross-compilation using Visual Studio
to target Mac OS X
. Is it doable with the CMakeSettings.json
? According to this article, you can choose Linux-Debug
and Linux-Release
as configurationType
but in Visual Studio 2017 Enterprise
the Linux
options aren't even available for me, neither is Mac OS X
.
I might just setup a virtual machine as suggested in this post which seems to be the most convenient solution to get the job done.