How to choose different VisualStudio Platform Toolset on Target?
Is it possible to choose different VisualStudio Platform Toolsets (v90, v120, v140 ...) on different targets in the same project? I only see the possibility to use the -T argument on CMake, which changes Platform Toolset for every target.
Something like this is needed:
set_target_properties( ${library} PROPERTIES VS_PROJECT_PLATFORM_TOOLSET "v120" )
Otherwise a script has to REGEX REPLACE all <PlatformToolset>${CMAKE_VS_PLATFORM_TOOLSET}</PlatformToolset>
after the generation.