cmake/Tests/RunCMake/VS10Project/VsFrameworkReference.cmake
2024-11-11 15:18:55 +01:00

9 lines
235 B
CMake

enable_language(CXX)
add_executable(foo foo.cpp)
set_target_properties(foo PROPERTIES
COMMON_LANGUAGE_RUNTIME "netcore"
DOTNET_TARGET_FRAMEWORK "net8.0-windows"
VS_FRAMEWORK_REFERENCES "Microsoft.WindowsDesktop.App.WPF")