[CMake] add_executable and WIN32 option

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Thu Apr 10 05:20:18 EDT 2008


> Von: "Alin M Elena"
>                 Hi
> 
>  
> 
> I try to use WIN32 option with cmake 2.6 rc6
> 
>  
> 
<snip> 
> MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol
> _WinMain at 16 referenced in function ___tmainCRTStartu
> 
> p
> 
Read the wiki faq:
http://www.cmake.org/Wiki/CMake_FAQ#Why_am_I_getting_a_linker_error_to__mainCRTStartup_under_WIN32.3F


HTH
Christian
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser


More information about the CMake mailing list