mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
0721f9bf0f
Fixes: #26082
9 lines
235 B
CMake
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")
|