Notes |
|
(0031828)
|
Brad King
|
2012-12-04 13:16
|
|
|
|
(0031834)
|
Brad King
|
2012-12-05 10:41
|
|
We could also consider complementing the "-G" (Generator) option with a new "-GT" (Generator Toolset) option to set CMAKE_VS_PLATFORM_TOOLSET automatically. An equivalent option would also be needed in cmake-gui.
The -GT option could be generalized for use with the Xcode generator in the future. |
|
|
(0031836)
|
Filip Konvicka (LOGIS)
|
2012-12-05 10:59
|
|
The -G option sounds nice (in fact, I proposed the same in the original post). |
|
|
(0031840)
|
Filip Konvicka (LOGIS)
|
2012-12-06 05:19
|
|
I attached a patch that adds new generators (that inherit from existing ones). It seems to be working fine. |
|
|
(0031841)
|
Filip Konvicka (LOGIS)
|
2012-12-06 06:04
|
|
I now realize that I misunderstood your previous comment. Adding -GT would be nice, but I understand it is a bit more complicated than what I did. Obviously, my approach does not scale as well. |
|
|
(0031842)
|
Brad King
|
2012-12-06 07:59
|
|
Re 0013774:0031841: FYI, there is also a pull request using the generator name for this:
https://github.com/Kitware/CMake/pull/29 [^]
but as I commented there I don't want to add another dimension of information to the generator name. The target platform shouldn't have been there either but is for historical reasons. |
|
|
(0031843)
|
Filip Konvicka (LOGIS)
|
2012-12-06 08:04
|
|
I completely agree. Hopefully my patch can help someone before an official solution is available. |
|
|
(0031859)
|
David Manura
|
2012-12-08 22:55
|
|
My current workaround is to just change "v110" to "v110_xp" in Source/cmGlobalVisualStudio11Generator.cxx and recompile cmake. There should be a way to do this without recompiling though. |
|
|
(0031905)
|
Brad King
|
2012-12-17 09:11
|
|
Attachment "7ecaa404+vs-platform-toolset-1.tar.gz" contains a work-in-progress patch series to address this issue by adding support for a cmake "-T" option to specify a generator-specific toolset. Additional work is in progress to update cmake-gui to set this too. |
|
|
(0032228)
|
Brad King
|
2013-02-08 13:46
|
|
|
|
(0033430)
|
Robert Maynard
|
2013-07-01 09:38
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|