Hi Olivier,

Thanks, I do see that now with the advanced mode on. I am just
confused on how this comes into use during actual compilation. I mean,
my make file is generated in my project directory - but when I examine
it, I don't see any mention about required libraries to link to,
optimization level, etc. Shouldn't those be embedded inside the make
file somehow? After CMake has generated the make file, I just go to
the project dir through a console and type:

  > make

so how does make know what libs to link to, what optimization level to
use if it's not stored in the make files?

Thanks,
Mark

On Dec 18, 2007 11:18 AM, Olivier Delannoy <[EMAIL PROTECTED]> wrote:
> You can look for the flag being used using ccmake and displaying
> advance flags. If you do so you will see that the release build do use
> different flag than debug build.
>
>
>
>
> On Dec 18, 2007 4:05 PM, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Sorry if this is a duplicate message, forgot I wasn't subscribed to the 
> > list.
> >
> > When we create a linux build, and set the compile flag to 'release',
> > no optimizations are actually performed, right? We need to pass that
> > flag to 'make', right, something like:
> >
> >      > make -O2
> >
> > otherwise, there's really no difference between that and a debug
> > compilation, right? )other than different target libraries you specify
> > in the CMake.txt file yourself)
> >
> > Thanks,
> > Mark
> > _______________________________________________
> > CMake mailing list
> > CMake@cmake.org
> > http://www.cmake.org/mailman/listinfo/cmake
> >
>
>
>
> --
> Olivier Delannoy
> Ph.D. Student
> PRiSM Laboratory
> Versailles University, FRANCE
>
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to