[CMake] how to set options if we have mixture of languages in our project

ankit jain ankitguddu at gmail.com
Thu Mar 26 04:47:25 EDT 2009


Hi all,

my project contain c cpp and java files. I have used this line in my main
CMakelists file
add_definitions(-Wno-deprecated)

But when it comes to java folder where java files are there it creates
problem said unreconized option with javac.

Can i do something for it. Acc. to me if stmt will work but what should be
given inside if as a stmt to check for a language so that it works i dont
know...

Ankit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090326/066b71b5/attachment.htm>


More information about the CMake mailing list