diff options
| author | Richard Lin | 2016-05-20 16:34:03 -0700 |
|---|---|---|
| committer | Richard Lin | 2016-05-20 16:34:03 -0700 |
| commit | d742d70a05b5fa997517ea7b5eb2d15b23e7a431 (patch) | |
| tree | 3c2453014c78e889fd1502085661ed604c5f0b34 /build.sbt | |
| parent | d7697eb14a0195cc3726bf45fdf38c631b6f6507 (diff) | |
| parent | e92f2f69477a6ce86fc148a1a95db5797f2e3051 (diff) | |
Merge pull request #186 from ucb-bar/sloc_impl
Source locators
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -79,17 +79,28 @@ lazy val chiselSettings = Seq ( // } ) -lazy val chiselFrontend = (project in file("chiselFrontend")). +lazy val coreMacros = (project in file("coreMacros")). settings(commonSettings: _*). settings( libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value ) +lazy val chiselFrontend = (project in file("chiselFrontend")). + settings(commonSettings: _*). + settings( + libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value + ). + dependsOn(coreMacros) + lazy val chisel = (project in file(".")). settings(commonSettings: _*). settings(chiselSettings: _*). - dependsOn(chiselFrontend).settings( + dependsOn(coreMacros). + dependsOn(chiselFrontend). + settings( // Include macro classes, resources, and sources main jar. + mappings in (Compile, packageBin) <++= mappings in (coreMacros, Compile, packageBin), + mappings in (Compile, packageSrc) <++= mappings in (coreMacros, Compile, packageSrc), mappings in (Compile, packageBin) <++= mappings in (chiselFrontend, Compile, packageBin), mappings in (Compile, packageSrc) <++= mappings in (chiselFrontend, Compile, packageSrc) ) |
