On Wednesday, 23. January 2013 07:06:16 Xiaofan Chen wrote:
> >> cmake -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_BUILD_TYPE=Release ../
> >>
> >> As a matter of fact, usually I have no issues with the
> >> /usr/local default prefix under Linux but only the build type.
> >
> > Good idea, I would even prefer "RelaseWithDebugInfo".
> > Debug symbols usually help more than they hurt
> > and people will figure out what the option does.
>
> I agree.
>
> > If you don't mind, I'll change it to this.
>
> Please go ahead and change it. Thanks.
Another idea: We could specify this code in the main CMakeLists.txt:
if("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE RelWithDebInfo)
endif("${CMAKE_BUILD_TYPE}" STREQUAL "")
This change would keep the default command line invocation short.
It's less explicit but I think it's a sane default. If there are
no objections, I'll commit this in the late afternoon.
Thomas
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|