]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Rearrange postprocessor creation code in SequenceBuilder
[libs/gl.git] / Build
diff --git a/Build b/Build
index 19831c3e54cc5eed723f2f91acd9572ccd288f63..6bf5ebb03a11208134dcf638ae001a36c735c663 100644 (file)
--- a/Build
+++ b/Build
@@ -51,6 +51,7 @@ package "mspgl"
                source "source/resources";
                source "source/glsl";
                source "source/builders";
+               source "source/backends/opengl";
                source "extensions";
                source "builtin_data";
                source "shaderlib";
@@ -64,6 +65,8 @@ package "mspgl"
                        incpath "source/animation";
                        incpath "source/resources";
                        incpath "source/builders";
+                       incpath "source/backends/opengl";
+                       standard CXX "c++11";
                };
                install true;
                install_map
@@ -76,6 +79,7 @@ package "mspgl"
                        map "source/resources" "include/msp/gl";
                        map "source/glsl" "include/msp/gl/glsl";
                        map "source/builders" "include/msp/gl";
+                       map "source/backends/opengl" "include/msp/gl";
                        map "extensions" "include/msp/gl/extensions";
                };
        };
@@ -89,9 +93,19 @@ package "mspgl"
 
        program "desertpillars"
        {
-               source "demos/desertpillars.cpp";
+               source "demos/desertpillars/source";
                require "sigc++-2.0";
                use "mspgl";
+               build_info
+               {
+                       standard CXX "c++14";
+               };
+       };
+
+       program "glslcompiler"
+       {
+               source "tools/glslcompiler.cpp";
+               use "mspgl";
        };
 
        source_tarball