[Cmake] WinMain
Filipe Sousa
filipe.gr.sousa at alunos.ipb.pt
Mon Jun 7 14:16:14 EDT 2004
There is no need to write WinMain. The library qtmain.lib has the WinMain that
calls the user's main() function.
On Monday 07 June 2004 16:07, William A. Hoffman wrote:
> This is really a QT question. You should look at some QT examples and
> figure out how QT deals with WinMain. If it has a WinMain, then use
> the WIN32 option in ADD_EXECUTABLE:
> ADD_EXECUTABLE(viewer WIN32 VIEWER_SRCS)
> If it uses main, then leave out the WIN32 option.
>
> -Bill
>
-- Filipe Sousa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://public.kitware.com/pipermail/cmake/attachments/20040607/f8b66101/attachment.pgp
More information about the Cmake
mailing list