[CMake] fix for wince library projects
Salisbury, Mark
mark.salisbury at hp.com
Mon Feb 11 13:46:33 EST 2013
Sorry, I had not tried VS 2008 prior to sending my last patch in. VS 2005 / 2008 use a different value for Subsystem for WINDOWSCE. Please ignore my prior patch.
Thanks,
Mark
-----Original Message-----
From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf Of Salisbury, Mark
Sent: Monday, February 11, 2013 11:04 AM
To: cmake at cmake.org
Subject: [CMake] fix for wince library projects
Hello,
I see that Patrick Gansterer has recently done some work to add support for Windows CE projects. I pulled down the latest CMake and found an issue. The subsystem isn't being set for dll project types. When I attempt to link I get a link error: unresolved external symbol __DllMainCRTStartup at 12.
This patch addresses the issue. Thanks to Patrick on advice for the right place to make the fix.
This works for VS 2005 and VS 2008. I don't know if VS 2010 (and beyond) work with Windows CE...
Will someone commit this change for me?
Thanks,
Mark Salisbury
Firmware Engineer
LaserJet Firmware Lab
mark.salisbury at hp.com
Hewlett-Packard Company
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WinCE-Added-SubSystem-SUBSYSTEM-WINDOWSCE-for-librar.patch
Type: application/octet-stream
Size: 1819 bytes
Desc: 0001-WinCE-Added-SubSystem-SUBSYSTEM-WINDOWSCE-for-librar.patch
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130211/00972d4e/attachment.obj>
More information about the CMake
mailing list