[CMake] Mixing up project language settings?

Fedja Jeleskovic mrawd2 at gmail.com
Thu Mar 31 15:38:48 EDT 2016


Hi there!

I am adding few components to the existing cmake driven C project, but new
components need C++ compiler instead. Top level CMakeLists.text starts with:
project (appName C)

The question is whether I need to change to top level settings and just
include CXX (or just remove C part since they are both defaulted anyway)
where my new components are, or the top level needs to be changed as well
to reflects what will be used below.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160331/dcf21166/attachment.html>


More information about the CMake mailing list