VS: Specify WinCE subsystem also for DLLs

This fixes a link error in VS 2005: unresolved external symbol
__DllMainCRTStartup@12.
This commit is contained in:
Mark Salisbury 2013-02-13 09:30:14 -07:00 committed by Brad King
parent 1324500669
commit 8f4cae7aa6
1 changed files with 4 additions and 0 deletions

View File

@ -1134,6 +1134,10 @@ void cmLocalVisualStudio7Generator::OutputBuildTool(std::ostream& fout,
{
fout << "\t\t\t\tGenerateDebugInformation=\"TRUE\"\n";
}
if(this->WindowsCEProject)
{
fout << "\t\t\t\tSubSystem=\"9\"\n";
}
std::string stackVar = "CMAKE_";
stackVar += linkLanguage;
stackVar += "_STACK_SIZE";