First version that can launch Fiji natively on Windows and Mac

This commit is contained in:
Jarek Sacha 2023-05-19 19:30:55 -04:00
parent d694d564fd
commit ab28e2daf7
No known key found for this signature in database
GPG key ID: F29625CE62288163
5 changed files with 221 additions and 7 deletions

View file

@ -6,14 +6,14 @@ enablePlugins(ScalaNativePlugin)
logLevel := Level.Info
libraryDependencies ++= Seq(
"com.github.scopt" %%% "scopt" % "4.1.0"
"com.github.scopt" %%% "scopt" % "4.1.0",
"com.lihaoyi" %%% "os-lib" % "0.9.1"
)
Compile/run/mainClass := Some("ij_plugins.imagej_launcher.Main")
Compile / run / mainClass := Some("ij_plugins.imagej_launcher.Main")
// import to add Scala Native options
import scala.scalanative.build._
import scala.scalanative.build.*
// defaults set with common options shown
nativeConfig ~= { c =>