We have a project that uses Scala macros. Scala IDE 4.1 supports Scopes to ease compilation of projects with macros. However, when I use sbt eclipse
, the generated project does not show macros as a source folder and does not create separate outputs for each source folder.
Is this a missing feature in SBT? Is there any workaround?
My build.sbt
file looks like this:
name in ThisBuild := "Test"
organization in ThisBuild := "org.test"
version in ThisBuild := "0.1.0"
scalaVersion in ThisBuild := "2.11.6"
libraryDependencies ++= Seq(
"org.scalatest" % "scalatest_2.11" % "2.2.4" % "test",
"junit" % "junit" % "4.11"
)