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