]> git.tdb.fi Git - libs/core.git/commitdiff
Link examples against the library with a use statement
authorMikko Rasa <tdb@tdb.fi>
Sat, 20 Apr 2013 16:37:59 +0000 (19:37 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 20 Apr 2013 16:37:59 +0000 (19:37 +0300)
Build

diff --git a/Build b/Build
index 51b3bc8276ea7f69e72fb8565797eea2811ba047..be4d039a96c97f01102222115c0ed7baa82e7694 100644 (file)
--- 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";
                };
        };