Hello, 2009/3/20 ankit jain <[email protected]>: > Hi all, > > I am creating a library through add_library command of java files. > Now i want to link it with some jar files which contain some classes which > is needed to build that library. > > target_link_libraries is not working in this case.
What do you mean by link? For java it should be sufficient to add the jar files to the class path. You can do that with the INCLUDE_DIRECTORIES command. kind regards Andreas _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
