[CMake] CMAKE_Java_LINK_EXECUTABLE

Richard Fuchs fuchsrich at se-core.net
Thu Aug 3 09:46:37 EDT 2006


Brad King wrote:
> Richard Fuchs wrote:
>   
>> Spoke to soon, it seems to be a problem with where javac is invoked. 
>> With the current makefiles that are created, the javac -d option has a
>> relative path from where the source files are located, but javac is
>> being invoked from the root project dir.  I was able to modify the
>> build.make file that is generated to include the full path for the -d
>> option and things run fine.
>>
>> So I either need to get cmake to include the full path in the javac -d
>> option or get javac to run each subdir.  Any thoughts?
>>     
>
> It looks like Java support is not too well tested.  The Java test in
> CMake has only a top level directory so this problem does not occur.
>
> Please create a bug report here:
>
> http://www.cmake.org/Bug
>
> Thanks,
> -Brad
>
>   
A similar problem exists for the -classpath option, it needs to point to 
the <src>/CMakeFiles/blah.dir and not the src dir.

Can you point me to where in the cmake source to look to see about 
fixing this?

Thanks
Richard


More information about the CMake mailing list