[CMake] CMake, Visual Studio and cross-compilation.

Nils Gladitz nilsgladitz at gmail.com
Sat Aug 30 04:38:44 EDT 2014


On 30.08.2014 07:21, Max Savenkov wrote:
>
> There are two cases I'm primarily interested in:
> vs-android (and NVidia's VS addon that is based on it), which allows 
> cross-compilation to Android
> vs-tool (https://github.com/juj/vs-tool), which allows 
> cross-compilation into JavaScript using Emscripten
>
> Both work by adding a new Platform type to use in Visual Studio.
>
> As far as I understand, there is no way to generate Visual Studio 
> solutions that support these new platforms presently (if there is one, 
> please tell me).

The more recent Visual Studio generators (>=2010) support platform 
toolset selection with -T <toolset-name> [1].
I don't know if or how well this works with the custom toolsets added by 
vs-tool but it might be worth a try.

As for NVIDIA's NSight Tegra there seems to be:
http://public.kitware.com/pipermail/cmake-developers/2014-July/010811.html

Nils

[1] 
http://www.cmake.org/cmake/help/v3.0/manual/cmake.1.html?highlight=toolset


More information about the CMake mailing list