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:
parent
1324500669
commit
8f4cae7aa6
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue