[Dune] [CMake] Set the compiler

Christoph GrĂ¼ninger christoph.grueninger at iws.uni-stuttgart.de
Thu Jan 8 06:55:18 CET 2015


Good morning Atgeirr,
what does exactly not work? Have you tried to add
 -DCMAKE_CXX_COMPILER=clang++
to the CMAKE_FLAGS in your opts file? That works for me. If it does not
work for you, can you sent us your current opts file?

> I am not sure how to do this via dunecontrol, but perhaps adding the
> -C <file> option in CMAKE_FLAGS would work.

I assume this will work. You can also write CXX=clang++ in front of your
dunecontrol call.

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/20150108/7ba34cff/attachment.sig>


More information about the Dune mailing list