mirror of
https://github.com/opencv/opencv.git
synced 2024-12-11 14:39:11 +08:00
23 lines
464 B
Scala
23 lines
464 B
Scala
import sbt._
|
|
import Keys._
|
|
|
|
object OpenCVJavaDemoBuild extends Build {
|
|
def scalaSettings = Seq(
|
|
scalaVersion := "2.10.0",
|
|
scalacOptions ++= Seq(
|
|
"-optimize",
|
|
"-unchecked",
|
|
"-deprecation"
|
|
)
|
|
)
|
|
|
|
def buildSettings =
|
|
Project.defaultSettings ++
|
|
scalaSettings
|
|
|
|
lazy val root = {
|
|
val settings = buildSettings ++ Seq(name := "OpenCVJavaDemo")
|
|
Project(id = "OpenCVJavaDemo", base = file("."), settings = settings)
|
|
}
|
|
}
|