[CMake] fix for wince library projects
Salisbury, Mark
mark.salisbury at hp.com
Mon Feb 11 13:03:46 EST 2013
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-9-SUBSYSTEM-WINDOWSCE-for-libr.patch
Type: application/octet-stream
Size: 1065 bytes
Desc: 0001-WinCE-Added-SubSystem-9-SUBSYSTEM-WINDOWSCE-for-libr.patch
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130211/de47f2ea/attachment.obj>
More information about the CMake
mailing list