Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- yourlib.project:
- library(
- require("zlib")
- sources("src/**/*.c")
- public_includes("include")
- )
- myexe.project:
- program(
- require("yourlib")
- require("zlib")
- sources("src/**/*.cpp")
- )
- zlib.project:
- library(
- sources("*.c")
- public_includes(".")
- )
- myexe.solution:
- target = "x64;Release"
- zlib = compile("zlib2.1/zlib.project", target, "dynamic")
- myexe = compile("myexe/myexe.project", target)
- yourlib = compile("yourlib/yourlib.project", target, "dynamic")
- yourlib.satisfy("zlib", zlib)
- myexe.satisfy("zlib", zlib)
- myexe.satisfy("zlib", yourlib)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement