Hi,

how can I add "win64/HelloWorld.dll" located under build/Debug to a jar
using the add_jar command?

if I run

add_jar(HelloWorldPlugin src/java/Foo/HelloWorld.java
build/Debug/win64/HelloWorld.dll)

the whole path is added and otherwise the library is not found.

on command-line I would add the option "-C build/Debug/
win64/NativeWrapper.dll" to the jar command

Should I change the CMAKE running directory or so? WHat would be the best
way to do so?

btw, it's cool that CMake is offering support for java, JNI really asked
for it :)

Running CMake 2.8.10 on windows and linux

Thanks!
--

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

Reply via email to