[CMake] Release mode compilation

kafou nmento ngondorolf at yahoo.fr
Mon Jan 5 05:52:18 EST 2009


Ok!
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.
And sorry for the "Please, it is urgent for my boss" statement.
Thanks again! 
 


--- En date de : Dim 4.1.09, Eric Noulard <eric.noulard at gmail.com> a écrit :

De: Eric Noulard <eric.noulard at gmail.com>
Objet: Re: [CMake] Release mode compilation
À: ngondorolf at yahoo.fr
Cc: cmake at cmake.org
Date: Dimanche 4 Janvier 2009, 0h34

2009/1/3 kafou nmento <ngondorolf at yahoo.fr>:
> Hi all!
> 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.

> 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.

> 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.

> 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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090105/f72642e6/attachment.htm>


More information about the CMake mailing list