diff options
author | Olivier PENA <opena@isagri.fr> | 2023-02-28 08:25:09 (GMT) |
---|---|---|
committer | Olivier PENA <opena@isagri.fr> | 2023-02-28 08:25:09 (GMT) |
commit | 0dff040f1014c6ca47eb77028b68c619f7c7f2e5 (patch) | |
tree | 08b8de36f3b33b3b93932666a8f11983c84111e7 | |
parent | e4b56c8224a95004dc53cbbec5fa7fa13590a329 (diff) | |
download | CMake-0dff040f1014c6ca47eb77028b68c619f7c7f2e5.zip CMake-0dff040f1014c6ca47eb77028b68c619f7c7f2e5.tar.gz CMake-0dff040f1014c6ca47eb77028b68c619f7c7f2e5.tar.bz2 |
VS : Support WIN32_EXECUTABLE on SDK style projects
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 6 |
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: |