cmake/Tests/RunCMake/VS10Project/VsPlatformToolset.cmake

7 lines
228 B

enable_language(CXX)
add_library(NormalPlatformToolset foo.cpp)
add_library(OverridenPlatformToolset foo.cpp)
set_target_properties(OverridenPlatformToolset
PROPERTIES VS_PLATFORM_TOOLSET MyCustomToolset)