Hi, I am currently struggling with a jar file build.
I have set SET(CMAKE_Java_COMPILE_OBJECT "<CMAKE_Java_COMPILER> <FLAGS> <SOURCE>") and SET(CMAKE_Java_CREATE_STATIC_LIBRARY "<CMAKE_Java_ARCHIVE> -cf <TARGET> <LINK_FLAGS>") to handle the path issues from the subdirectories. (Every jar file target gets the approtiate linker and compiler flags set). But when I build the project the jar command gets an empty string for <LINK_FLAGS>. Why is that? If I use CMAKE_Java_CREATE_SHARED_LIBRARY I get a lib<TARGET>.so, but the flags are interpreted correctly. any ideas? Christoph
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ 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