[Dune] cmake docu ?
Christoph GrĂ¼ninger
christoph.grueninger at iws.uni-stuttgart.de
Wed Nov 26 17:11:09 CET 2014
Hi Carsten,
I have missed to answer your email.
make does not support multiple build types like DEBUG and RELEASE.
Quoting the documentation of CMAKE_BUILD_TYPE:
> This variable is only meaningful to single-configuration generators
> (such as make and Ninja) i.e. those which choose a single
> configuration when CMake runs to generate a build tree as opposed to
> multi-configuration generators which offer selection of the build
> configuration within the generated build environment.
So I guess multiple opts file are the solution. Or you can write CC=..
and CXX=.. in front of your dunecontrol call. That's the way I usually
set the complier, after I delete the complete build directory.
Bye
Christoph
--
GDB does hate your application, expresses its contempt through the
design of its command-line interface. -- Tom Tromey, FOSDEM 2014
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20141126/a9756341/attachment.sig>
More information about the Dune
mailing list