diff --git a/.gitignore b/.gitignore index e605558..8bff2d2 100644 --- a/.gitignore +++ b/.gitignore @@ -7,18 +7,29 @@ /docs/ /alicedbg alicedbg-test-* -*.pdb -*.so -*.dylib -*.dll -*.a -*.lib -*.exe -*.o -*.obj -*.lst *.json *.log +*.lst + +# Executable objects +*.dll +*.dylib +*.so +*.exe + +# Debug objects +*.pdb +*.dbg + +# Library archives and objects +*.lib +*.a +*.obj +*.o + +# Archives +*.zip +*.tar.* # C headers /include/ diff --git a/dub.sdl b/dub.sdl index c0d338f..8eb62ca 100644 --- a/dub.sdl +++ b/dub.sdl @@ -114,6 +114,14 @@ 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 #