Newer
Older
dub_jkp / dub.sdl
@Sönke Ludwig Sönke Ludwig on 8 Nov 2017 887 bytes Skip explicitly linking with libcurl.
  1. name "dub"
  2. description "Package manager for D packages"
  3. authors "Matthias Dondorff" "Sönke Ludwig"
  4. copyright "Copyright © 2012-2016 rejectedsoftware e.K., Copyright © 2012-2014 Matthias Dondorff"
  5. license "MIT"
  6.  
  7. targetPath "bin"
  8.  
  9. configuration "application" {
  10. targetType "executable"
  11. mainSourceFile "source/app.d"
  12. libs "curl"
  13. versions "DubUseCurl"
  14. }
  15.  
  16. configuration "library" {
  17. targetType "library"
  18. excludedSourceFiles "source/app.d"
  19. copyFiles "bin/libcurl.dll" "bin/libeay32.dll" "bin/ssleay32.dll" platform="windows"
  20. versions "DubUseCurl"
  21. }
  22.  
  23. configuration "library-nonet" {
  24. dependency "vibe-d:http" version=">=0.7.30 <=0.9.0" optional=true
  25. targetType "library"
  26. excludedSourceFiles "source/app.d"
  27. }
  28.  
  29. configuration "dynamic-library-nonet" {
  30. dependency "vibe-d:http" version=">=0.7.30 <=0.9.0" optional=true
  31. targetType "dynamicLibrary"
  32. excludedSourceFiles "source/app.d"
  33. }