Thank you both of you, I will try your suggestions tonight and report back
tomorrow, whether I succeed or not.
Sebastien
From: Mike Jackson <[EMAIL PROTECTED]>
To: "Brandon Van Every" <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [CMake] CMake 2.4.6, MinGW and console application
Date: Thu, 5 Jul 2007 09:54:33 -0400
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg12121.html
I think you need to add:
TARGET_LINK_LIBRARIES(map2syBR mingw32) which should link your program to
the libmingw32.a that is included with the MinGW Distribution.
--
Mike Jackson Senior Research Engineer
Innovative Management & Technology Services
On Jul 5, 2007, at 9:46 AM, Brandon Van Every wrote:
On 7/5/07, Sebarnolds [Seb / Frip] <[EMAIL PROTECTED]> wrote:
Hi.
>
>Do an ADD_EXECUTABLE *without* [WIN32] as an option. See the docs.
I think you misunderstand me.
You're right, I read too fast.
Whether I add or not the WIN32 option after
the ADD_EXECUTABLE, it complains about [EMAIL PROTECTED] It doesn't seem to
change
anything.
"ADD_EXECUTABLE(map2syBR map2syBR.cpp)" and "ADD_EXECUTABLE (map2syBR
WIN32
map2syBR.cpp)" have the same results.
If you are ABSOLUTELY SURE your build is clean, no leftover stuff from
previous builds, no funny flags, no weirdness anywhere, then this is a
bug. But I think your build is not clean and you've got something
left over somewhere. Try isolating with a very simple "hello world"
and see what behavior you get.
Cheers,
Brandon Van Every
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_________________________________________________________________
MSN Messenger: appels gratuits de PC à PC !
http://www.msn.fr/msger/default.asp
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake