16 lines
308 B
Text
16 lines
308 B
Text
import Lake.Package
|
|
|
|
open Lake System
|
|
|
|
def package : PackageConfig := {
|
|
name := "lake"
|
|
srcDir := FilePath.mk ".." / ".."
|
|
oleanDir := "."
|
|
leancArgs := #["-O3", "-DNDEBUG"]
|
|
binRoot := `Lake.Main
|
|
linkArgs :=
|
|
if Platform.isWindows then
|
|
#["-Wl,--export-all"]
|
|
else
|
|
#["-rdynamic"]
|
|
}
|