mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
VS: Specify WinCE subsystems correctly in VS 9 2008
This commit is contained in:
committed by
Brad King
parent
8f4cae7aa6
commit
cf82d1e166
@@ -1136,7 +1136,14 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
|
||||
}
|
||||
if(this->WindowsCEProject)
|
||||
{
|
||||
fout << "\t\t\t\tSubSystem=\"9\"\n";
|
||||
if(this->GetVersion() < VS9)
|
||||
{
|
||||
fout << "\t\t\t\tSubSystem=\"9\"\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
fout << "\t\t\t\tSubSystem=\"8\"\n";
|
||||
}
|
||||
}
|
||||
std::string stackVar = "CMAKE_";
|
||||
stackVar += linkLanguage;
|
||||
@@ -1227,8 +1234,15 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
|
||||
}
|
||||
if ( this->WindowsCEProject )
|
||||
{
|
||||
fout << "\t\t\t\tSubSystem=\"9\"\n"
|
||||
<< "\t\t\t\tEntryPointSymbol=\""
|
||||
if(this->GetVersion() < VS9)
|
||||
{
|
||||
fout << "\t\t\t\tSubSystem=\"9\"\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
fout << "\t\t\t\tSubSystem=\"8\"\n";
|
||||
}
|
||||
fout << "\t\t\t\tEntryPointSymbol=\""
|
||||
<< (isWin32Executable ? "WinMainCRTStartup" : "mainACRTStartup")
|
||||
<< "\"\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user