diff options
author | Mark Salisbury <mark.salisbury@hp.com> | 2013-02-13 16:30:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-02-13 18:37:18 (GMT) |
commit | 8f4cae7aa6e00fb969828ba46326887d0dbcd72c (patch) | |
tree | c0aed6f07c81c095d5e7a1a1af07b764977423d9 /Source | |
parent | 132450066945d2c7244205df662f3137edfad5bc (diff) | |
download | CMake-8f4cae7aa6e00fb969828ba46326887d0dbcd72c.zip CMake-8f4cae7aa6e00fb969828ba46326887d0dbcd72c.tar.gz CMake-8f4cae7aa6e00fb969828ba46326887d0dbcd72c.tar.bz2 |
VS: Specify WinCE subsystem also for DLLs
This fixes a link error in VS 2005: unresolved external symbol
__DllMainCRTStartup@12.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index f9df861..620e9b3 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/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"; |