]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Allow creating sequences without size
[libs/gl.git] / Build
diff --git a/Build b/Build
index 02f502b4e892532e918f79139fc11fb17c4b141b..22aedd4f89d0eb36eac1be2e26778099f1d55718 100644 (file)
--- a/Build
+++ b/Build
@@ -32,6 +32,8 @@ package "mspgl"
        generate "RES"
        {
                in_suffix ".glsl";
+               in_suffix ".samp";
+               in_suffix ".mesh";
                out_suffix ".cpp";
                command "mspdatatool";
                arguments "-i" "-n" "Msp::GL";
@@ -50,6 +52,7 @@ package "mspgl"
                source "source/glsl";
                source "source/builders";
                source "extensions";
+               source "builtin_data";
                source "shaderlib";
                build_info
                {
@@ -61,6 +64,7 @@ package "mspgl"
                        incpath "source/animation";
                        incpath "source/resources";
                        incpath "source/builders";
+                       standard CXX "c++11";
                };
                install true;
                install_map
@@ -86,9 +90,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