]
[EMAIL PROTECTED]
__
-Original Message-
From: Christian Ehrlicher [mailto:[EMAIL PROTECTED]
Sent: 10 April 2008 10:20
To: cmake@cmake.org
Cc: [EMAIL PROTECTED]
Subject: Re: [CMake] add_executable and WIN32 option
> Von: "Alin M Elena"
> Hi
>
>
>
>
> Von: "Alin M Elena"
> Hi
>
>
>
> I try to use WIN32 option with cmake 2.6 rc6
>
>
>
> MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol
> [EMAIL PROTECTED] referenced in function ___tmainCRTStartu
>
> p
>
Read the wiki faq:
http://www.cmake.org/Wiki/C
Hi
I try to use WIN32 option with cmake 2.6 rc6
I added it in the add_executable
+
if(WIN32)
ADD_DEFINITIONS(-D_AFXDLL)
set(CMAKE_MFC_FLAG 2)
endif(WIN32)
in the CMakeLists.txt what I get is a linking error
Linking CXX executable bin\aten.exe
"C:\