Advertisement
tinyevil

Untitled

Oct 10th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. yourlib.project:
  2. library(
  3. require("zlib")
  4. sources("src/**/*.c")
  5. public_includes("include")
  6. )
  7.  
  8. myexe.project:
  9. program(
  10. require("yourlib")
  11. require("zlib")
  12. sources("src/**/*.cpp")
  13. )
  14.  
  15. zlib.project:
  16. library(
  17. sources("*.c")
  18. public_includes(".")
  19. )
  20.  
  21. myexe.solution:
  22. target = "x64;Release"
  23. zlib = compile("zlib2.1/zlib.project", target, "dynamic")
  24. myexe = compile("myexe/myexe.project", target)
  25. yourlib = compile("yourlib/yourlib.project", target, "dynamic")
  26. yourlib.satisfy("zlib", zlib)
  27. myexe.satisfy("zlib", zlib)
  28. myexe.satisfy("zlib", yourlib)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement