[CMake] CMake 2.4.6, MinGW and console application

Sebarnolds [Seb / Frip] sebarnolds at hotmail.com
Thu Jul 5 09:40:44 EDT 2007


Hi.

>
>Do an ADD_EXECUTABLE *without* [WIN32] as an option.  See the docs.
>
>Cheers,
>Brandon Van Every

I think you misunderstand me. Whether I add or not the WIN32 option after 
the ADD_EXECUTABLE, it complains about WinMain at 16. It doesn't seem to change 
anything.

"ADD_EXECUTABLE(map2syBR map2syBR.cpp)" and "ADD_EXECUTABLE(map2syBR WIN32 
map2syBR.cpp)" have the same results.

Thanks anyway,
Sebastien

_________________________________________________________________
MSN Hotmail : créez votre adresse e-mail gratuite & à vie ! 
http://www.msn.fr/newhotmail/Default.asp?Ath=f



More information about the CMake mailing list