Thank you. It's nice to see somebody already worked on NVidia NSight
addition. As with -T option, it unfortunately does not help, since I not
only need to choose a platform toolset, but an entirely different
platform (like Win32 or x64, named "Emscripten"). From what I've read,
there is no way to do it in CMake, short of adding ANOTHER generator,
like they did with NSight, "Visual Studio 10 2010 Emscripten" or
something. I don't like this, because multiplying number of generators
by number of VS versions seems like an awful idea, but maybe it's OK,
since project generation for Visual Studio is such a special case
anyway... Guess I can try to create a patch similar to one for NSight,
because vs-android (on which NSight is based) and vs-tool are fairly
similar too...
30.08.2014 12:38, Nils Gladitz пишет:
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
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake