mirror of
https://github.com/opencv/opencv.git
synced 2024-12-12 07:09:12 +08:00
23 lines
466 B
Scala
23 lines
466 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)
|
||
|
}
|
||
|
}
|