]> git.tdb.fi Git - r2c2.git/commitdiff
Update Build file
authorMikko Rasa <tdb@tdb.fi>
Tue, 8 Jan 2013 14:24:59 +0000 (16:24 +0200)
committerMikko Rasa <tdb@tdb.fi>
Tue, 8 Jan 2013 14:24:59 +0000 (16:24 +0200)
Build

diff --git a/Build b/Build
index c9a35d43dbb5142805486867f18128ef07351fb4..30f87b25e50b43230be14ec53dc8c7389515b430 100644 (file)
--- a/Build
+++ b/Build
@@ -1,37 +1,28 @@
 package "r2c2"
 {
        require "mspcore";
+       require "mspdatafile";
        require "sigc++-2.0";
 
-       program "shoppinglist"
-       {
-               source "source/shoppinglist";
-               build_info
-               {
-                       incpath "source";
-                       library "r2c2";
-               };
-               require "mspdatafile";
-       };
-
        library "r2c2"
        {
                source "source/libr2c2";
-               require "mspdatafile";
                // XXX drivers should be made into plugins to avoid this dependency
                require "mspnet";
                install true;
        };
 
+       program "shoppinglist"
+       {
+               source "source/shoppinglist";
+               use "r2c2";
+       };
+
        library "r2c2_3d"
        {
                source "source/3d";
                require "mspgl";
-               build_info
-               {
-                       incpath "source";
-                       library "r2c2";
-               };
+               use "r2c2";
                install true;
        };
 
@@ -39,60 +30,44 @@ package "r2c2"
        {
                source "source/network";
                require "mspnet";
-               build_info
-               {
-                       incpath "source";
-                       library "r2c2";
-               };
+               use "r2c2";
                install true;
        };
 
        program "designer"
        {
                source "source/designer";
-               require "mspstrings";
+               require "mspgui";
+               require "mspgl";
                require "mspgltk";
-               require "mspgbase";
                require "libxml++-2.6";
-               build_info
-               {
-                       incpath "source";
-                       library "r2c2_3d";
-               };
+               use "r2c2";
+               use "r2c2_3d";
        };
 
        program "engineer"
        {
                source "source/engineer";
-               require "mspstrings";
+               require "mspgui";
+               require "mspgl";
                require "mspgltk";
-               require "mspgbase";
-               build_info
-               {
-                       incpath "source";
-                       library "r2c2_3d";
-                       library "r2c2_net";
-               };
+               use "r2c2";
+               use "r2c2_3d";
+               use "r2c2_net";
        };
 
        program "remote"
        {
                source "source/remote";
                require "gtkmm-2.4";
-               build_info
-               {
-                       incpath "source";
-                       library "r2c2_net";
-               };
+               use "r2c2";
+               use "r2c2_net";
        };
 
        program "serial"
        {
                source "source/serial";
-               build_info
-               {
-                       incpath "source";
-                       library "r2c2_net";
-               };
+               use "r2c2";
+               use "r2c2_net";
        };
 };