9 lines
294 B
Plaintext
9 lines
294 B
Plaintext
|
// Provide a managed dependency on chisel if -DchiselVersion="" is
|
||
|
// supplied on the command line.
|
||
|
|
||
|
val chiselVersion = System.getProperty("chiselVersion", "None")
|
||
|
|
||
|
libraryDependencies ++= ( if (chiselVersion != "None" ) (
|
||
|
"edu.berkeley.cs" %% "chisel" % chiselVersion
|
||
|
) :: Nil; else Nil)
|