]> 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 b79d1ca076e2b115544b925473cb65ed994b1904..6fd553a855e25b58786cfb2762968accdf55de47 100644 (file)
--- a/Build
+++ b/Build
@@ -1,5 +1,7 @@
 package "mspdemoscene"
 {
+       feature "developer" "Include developer options";
+
        require "sigc++-2.0";
        require "opengl";
        require "mspcore";
@@ -8,9 +10,20 @@ package "mspdemoscene"
        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
                {