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)
|
||
|
}
|
||
|
}
|