diff --git a/.gitignore b/.gitignore index e6055587..8bff2d20 100644 --- a/.gitignore +++ b/.gitignore @@ -7,18 +7,29 @@ __dummy.html /docs/ /alicedbg alicedbg-test-* -*.pdb -*.so -*.dylib +*.json +*.log +*.lst + +# Executable objects *.dll -*.a -*.lib +*.dylib +*.so *.exe -*.o + +# Debug objects +*.pdb +*.dbg + +# Library archives and objects +*.lib +*.a *.obj -*.lst -*.json -*.log +*.o + +# Archives +*.zip +*.tar.* # C headers /include/ diff --git a/dub.sdl b/dub.sdl index c0d338fe..8eb62cae 100644 --- a/dub.sdl +++ b/dub.sdl @@ -114,6 +114,14 @@ buildType "release-nobounds" { dflags "-betterC" platform="ldc" } +# Compile in release mode with no bound checking as statically link. +buildType "release-nobounds-static" { + versions "Release" "ReleaseNobounds" + buildOptions "releaseMode" "optimize" "noBoundsCheck" + dflags "-betterC" "--static" platform="ldc" + dflags "-betterC" "-Wl,-static" platform="gdc" +} + # # ANCHOR Unit tests #