Newer
Older
dub_jkp / dub.sdl
  1. name "dub"
  2. description "Package manager for D packages"
  3. authors "Sönke Ludwig" "Martin Nowak" "Matthias Dondorff" "Sebastian Wilzbach" \
  4. "more than 80 contributors total"
  5. copyright "Copyright © 2012-2016 rejectedsoftware e.K., Copyright © 2012-2014 Matthias Dondorff"
  6. license "MIT"
  7.  
  8. targetPath "bin"
  9.  
  10. dflags "-preview=in" platform="dmd"
  11. dflags "-preview=in" platform="ldc"
  12. //Disabled due to ICEs in gdc.
  13. //dflags "-fpreview=in" platform="gdc"
  14. // Deprecated module(s)
  15. excludedSourceFiles "source/dub/packagesupplier.d"
  16.  
  17. configuration "application" {
  18. targetType "executable"
  19. mainSourceFile "source/app.d"
  20. versions "DubUseCurl" "DubApplication"
  21. // Uncomment to get rich output about the file parsing and json <-> YAML
  22. // integrity checks
  23. //debugVersions "ConfigFillerDebug"
  24. }
  25.  
  26. configuration "library" {
  27. targetType "library"
  28. excludedSourceFiles "source/app.d"
  29. copyFiles "bin/libcurl.dll" "bin/libeay32.dll" "bin/ssleay32.dll" platform="windows"
  30. versions "DubUseCurl"
  31. }
  32.  
  33. configuration "library-nonet" {
  34. dependency "vibe-d:http" version=">=0.9.0 <0.10.0" optional=true
  35. targetType "library"
  36. excludedSourceFiles "source/app.d"
  37. }
  38.  
  39. configuration "dynamic-library-nonet" {
  40. dependency "vibe-d:http" version=">=0.9.0 <0.10.0" optional=true
  41. targetType "dynamicLibrary"
  42. excludedSourceFiles "source/app.d"
  43. }