<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Ok!</DIV>
<DIV>Thank you for the reply and I'm so confused, I didn't make right because I typed firstly the wrong command and I always make copy/paste.</DIV>
<DIV>And sorry for the "<STRONG>Please, it is urgent for my boss</STRONG>" statement.</DIV>
<DIV>Thanks again!&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR>--- En date de&nbsp;: <B>Dim 4.1.09, Eric Noulard <I>&lt;eric.noulard@gmail.com&gt;</I></B> a écrit&nbsp;:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">De: Eric Noulard &lt;eric.noulard@gmail.com&gt;<BR>Objet: Re: [CMake] Release mode compilation<BR>À: ngondorolf@yahoo.fr<BR>Cc: cmake@cmake.org<BR>Date: Dimanche 4 Janvier 2009, 0h34<BR><BR><PRE>2009/1/3 kafou nmento &lt;ngondorolf@yahoo.fr&gt;:
&gt; Hi all!
&gt; I'm wondering the way to build a simple project in release mode with
CMake.

SET(CMAKE_BUILD_TYPE "Release")

You may do it using CMake GUI or command line.

&gt; All my trials lead to a debug build.

Did you search for this issue?
A somehow "blind" search for "release build with cmake"
gives me at least 2 valuable link in the first 4.

&gt; And the way to build a Qt app in release please.

I don't know for that, Qt usage with cmake should follow the
CMAKE_BUILD_TYPE too.

&gt; Please, it is urgent for my boss.

Personnally I think it's not a good reason for asking for
*free* answer to a visibly *paid* job.

Many people listening and answering the list are volunteer
you cannot ask for "business" urgency.

If you want to do so, I suggest you pay a CMake expert support.

-- 
Erk
</PRE></BLOCKQUOTE></td></tr></table><br>