[CMake] When is <LINK_LIBRARIES> available

Andreas Pakulat apaku at gmx.de
Wed Feb 16 07:33:18 EST 2011


Hi,

due to the problems with include_directories (not available as
target or source-property) screwing up building java and c++ code in the
same subdir, I've tried to adjust the java-compiler support to instead
consider .jar files as link-libraries. Unfortunately it seems that during
the object-compilation phase the special variable <LINK_LIBRARIES> is not
available when setting up the rules in the CMakeXXXInformation.cmake file.

Is that correct? Is there a feature wish to change this already open or
is this something that not going to be done anyway and I should simply drop
the idea of using cmake's compiler-feature for doing java-stuff?

Andreas

-- 
You will pay for your sins.  If you have already paid, please disregard
this message.


More information about the CMake mailing list