<div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Hi,<br><br>how can I add "win64/HelloWorld.dll" located under build/Debug to a jar using the add_jar command?<br><br>if I run <br><br><span style="font-family:courier new,monospace">add_jar(HelloWorldPlugin src/java/Foo/HelloWorld.java build/Debug/win64/HelloWorld.dll) <br>
</span><br>the whole path is added and otherwise the library is not found.<br><br>on command-line I would add the option "<span style="font-family:courier new,monospace">-C build/Debug/ win64/NativeWrapper.dll</span>" to the jar command<br>
<br>Should I change the CMAKE running directory or so? WHat would be the best way to do so?<br><br>btw, it's cool that CMake is offering support for java, JNI really asked for it :)<br><br>Running CMake 2.8.10 on windows and linux<br>
<br>Thanks!</span></div>