Use cmake properly
not sure how to make jpm install this dynamic library
was that all you had to do to make it jpm clean && jpm build && jpm install without a hitch?
i only get it to jpm clean && jpm build && jpm build && jpm install with that hitch in the middle, but then the module is installed and i can import it whereever
just havent gotten it to build a standalone executable yet, at which point jpm build in a depending project complains about not finding build/libui/out/ui.a
was that all you had to do to make it
jpm clean && jpm build && jpm installwithout a hitch?
try running export CMAKE_GENERATOR=Ninja before that.
nope, still had ld complain when building the native module about not finding the to-be-cmade ui.a :shrug:
ok i removed the declare-native thing in my project.janet and now it jpm clean && jpm builds successfully but doesnt install anything, so a complete, clean cycle of jpm clean && jpm build && jpm install && janet -l janetui is still not possible
Possibly related is this.
I tried to apply the info linked to from there but didn't get it working, unfortunately.