I have just submitted a patch for module UseSWIG.cmake to solve some problems with language Java. http://public.kitware.com/Bug/view.php?id=7915
When solving these problems, I was wondering why the generated JNI library was not installed as a runtime under Windows. With CMake 2.6, dynamic libraries (DLL) are considered as RUNTIME and could be separately installed into directory bin/. The import libraries are considered as LIBRARY and are normally installed into directory lib/. The JNI library generated by UseSWIG is not built as a shared library but as a module (to export all symbols if i understand well). Since under Windows, a DLL is generated, Windows modules should be considered as RUNTIME. Is it correct ? It would allow to install JNI DLLs into directory bin/ like other runtimes. J. Bedouet _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake