From: Mikko Rasa Date: Sat, 20 Apr 2013 16:37:59 +0000 (+0300) Subject: Link examples against the library with a use statement X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=89c8388a629433b54b7f0cd128b79e308f7d0555;p=libs%2Fcore.git Link examples against the library with a use statement --- diff --git a/Build b/Build index 51b3bc8..be4d039 100644 --- a/Build +++ b/Build @@ -47,37 +47,25 @@ package "mspcore" program "grep" { source "examples/grep.cpp"; - build_info - { - library "mspcore"; - }; + use "mspcore"; }; program "transcode" { source "examples/transcode.cpp"; - build_info - { - library "mspcore"; - }; + use "mspcore"; }; program "ls" { source "examples/ls.cpp"; - build_info - { - library "mspcore"; - }; + use "mspcore"; }; program "syncdir" { source "examples/syncdir.cpp"; - build_info - { - library "mspcore"; - }; + use "mspcore"; }; if_feature "zlib" @@ -85,10 +73,7 @@ package "mspcore" program "z" { source "examples/z.cpp"; - build_info - { - library "mspcore"; - }; + use "mspcore"; }; };