summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-01 14:21:58 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-03-01 14:22:05 (GMT)
commita6b4bbfa57106b81819759f84801317f7eaaf75e (patch)
treee0603e23a3479760b0744b54f48864c214c9c49e /Source
parent0c30af2753b26f717065389ec682c385f6b900b5 (diff)
parent0dff040f1014c6ca47eb77028b68c619f7c7f2e5 (diff)
downloadCMake-a6b4bbfa57106b81819759f84801317f7eaaf75e.zip
CMake-a6b4bbfa57106b81819759f84801317f7eaaf75e.tar.gz
CMake-a6b4bbfa57106b81819759f84801317f7eaaf75e.tar.bz2
Merge topic 'csharp_sdk_win32_exe'
0dff040f10 VS : Support WIN32_EXECUTABLE on SDK style projects Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Sumit Bhardwaj <bhardwajs@outlook.com> Merge-request: !8263
Diffstat (limited to 'Source')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index ae0d255..d984c86 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -955,7 +955,11 @@ void cmVisualStudio10TargetGenerator::WriteSdkStyleProjectFile(
"executables."));
return;
}
- outputType = "Exe";
+ if (cmIsOn(win32)) {
+ outputType = "WinExe";
+ } else {
+ outputType = "Exe";
+ }
} break;
case cmStateEnums::UTILITY:
case cmStateEnums::INTERFACE_LIBRARY: