From 89c8388a629433b54b7f0cd128b79e308f7d0555 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 20 Apr 2013 19:37:59 +0300 Subject: [PATCH] Link examples against the library with a use statement --- Build | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) 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"; }; }; -- 2.43.0