I've written some code I'd like to share across a couple of ScalaNative command line tools I'm working on.
Can I generate a library (preferably static) that I can share between multiple ScalaNative console applications?
Thank you!
I've written some code I'd like to share across a couple of ScalaNative command line tools I'm working on.
Can I generate a library (preferably static) that I can share between multiple ScalaNative console applications?
Thank you!
Copyright © 2021 Jogjafile Inc.
Starting from Scala Native 0.4.8 it can generate dynamic and static libraries.
What you need to do is add the following to your
build.sbtfile.To generate a dynamic library:
To generate a static library: