1import sbt._
2import Keys._
3
4object OpenCVJavaDemoBuild extends Build {
5  def scalaSettings = Seq(
6    scalaVersion := "2.10.0",
7    scalacOptions ++= Seq(
8      "-optimize",
9      "-unchecked",
10      "-deprecation"
11    )
12  )
13
14  def buildSettings =
15    Project.defaultSettings ++
16    scalaSettings
17
18  lazy val root = {
19    val settings = buildSettings ++ Seq(name := "OpenCVJavaDemo")
20    Project(id = "OpenCVJavaDemo", base = file("."), settings = settings)
21  }
22}
23