1
0
Эх сурвалжийг харах

VS: Specify WinCE subsystem also for DLLs

This fixes a link error in VS 2005: unresolved external symbol
__DllMainCRTStartup@12.
Mark Salisbury 13 жил өмнө
parent
commit
8f4cae7aa6

+ 4 - 0
Source/cmLocalVisualStudio7Generator.cxx

@@ -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";