Cmake build. C compiler.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Guys,

When I build Ceph using ./do_cmake.sh && cd build && make -j32, looks like
everything is compiled using C++ compiler, even files with .c extension.
This fails ZetaScale compilation, which is pure C.

In oppose to that if I am building ³in tree², with cmake . && make -j32,
Ceph build fails, because it uses proper C compiler for .c extension, but
they include Ceph¹s assert.h which is C++.

So, probably, I need to configure compiler on per directory basis, is
there known way to do that?
Also, can somebody point me where in the CMakeList.txt compiler is
configured for ³out of tree² build? I mean C++ for everything.

‹
Evgeniy


PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux