Newer
Older
dub_jkp / dub.sdl
@Remi Thebault Remi Thebault on 25 Nov 2018 977 bytes implement $DUB build variable
  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. configuration "application" {
  11. targetType "executable"
  12. mainSourceFile "source/app.d"
  13. libs "curl"
  14. versions "DubUseCurl" "DubApplication"
  15. }
  16.  
  17. configuration "library" {
  18. targetType "library"
  19. excludedSourceFiles "source/app.d"
  20. copyFiles "bin/libcurl.dll" "bin/libeay32.dll" "bin/ssleay32.dll" platform="windows"
  21. versions "DubUseCurl"
  22. }
  23.  
  24. configuration "library-nonet" {
  25. dependency "vibe-d:http" version=">=0.7.30 <=0.9.0" optional=true
  26. targetType "library"
  27. excludedSourceFiles "source/app.d"
  28. }
  29.  
  30. configuration "dynamic-library-nonet" {
  31. dependency "vibe-d:http" version=">=0.7.30 <=0.9.0" optional=true
  32. targetType "dynamicLibrary"
  33. excludedSourceFiles "source/app.d"
  34. }