]> git.tdb.fi Git - libs/demoscene.git/blobdiff - Build
Allow stages to define actions
[libs/demoscene.git] / Build
diff --git a/Build b/Build
index 569ce9986462c22880b4895e5669d4012feb1b17..6fd553a855e25b58786cfb2762968accdf55de47 100644 (file)
--- a/Build
+++ b/Build
@@ -1,13 +1,33 @@
 package "mspdemoscene"
 {
+       feature "developer" "Include developer options";
+
+       require "sigc++-2.0";
+       require "opengl";
        require "mspcore";
        require "mspdatafile";
        require "mspgui";
        require "mspgl";
        require "mspal";
 
+       generate "RES"
+       {
+               in_suffix ".glsl";
+               out_suffix ".cpp";
+               command "mspdatatool";
+               arguments "-i" "-n" "Msp::DemoScene";
+               out_argument "-o";
+               processing_unit DIRECTORY;
+       };
+
        library "mspdemoscene"
        {
                source "source";
+               source "data";
+               install true;
+               install_map
+               {
+                       map "source" "include/msp/demoscene";
+               };
        };
 };