[CMake] question on linux release builds

Olivier Delannoy olivier.delannoy at gmail.com
Tue Dec 18 11:18:08 EST 2007


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 <markww at gmail.com> 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 at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Olivier Delannoy
Ph.D. Student
PRiSM Laboratory
Versailles University, FRANCE


More information about the CMake mailing list