diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-05-02 05:19:07 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-05-11 11:17:09 -0700 |
commit | 791cb363b77332e3abdf4039102dfcdb863ce6c3 (patch) | |
tree | 09ff5d807a1407abedade57b692204ceac3f3280 /plugin/src/sbt-test/sbt-jni/simple/test | |
parent | 49563ee13599b0cb1add27b24446677a13b1f563 (diff) | |
download | sbt-jni-791cb363b77332e3abdf4039102dfcdb863ce6c3.tar.gz sbt-jni-791cb363b77332e3abdf4039102dfcdb863ce6c3.tar.bz2 sbt-jni-791cb363b77332e3abdf4039102dfcdb863ce6c3.zip |
Use macro annotation to load native library
This also removes the need for third projects to depend on a "loader library".
Diffstat (limited to 'plugin/src/sbt-test/sbt-jni/simple/test')
-rw-r--r-- | plugin/src/sbt-test/sbt-jni/simple/test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/src/sbt-test/sbt-jni/simple/test b/plugin/src/sbt-test/sbt-jni/simple/test new file mode 100644 index 0000000..dd9e5bf --- /dev/null +++ b/plugin/src/sbt-test/sbt-jni/simple/test @@ -0,0 +1,4 @@ +> javah +$ exists native/src/include/simple_Library__.h +> nativeInit cmake demo +> core/run
\ No newline at end of file |