]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Add support for integer vertex attributes
[libs/gl.git] / Build
diff --git a/Build b/Build
index 02f502b4e892532e918f79139fc11fb17c4b141b..581a4f2172058fb2b04113a93b566a3dd9d97895 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
                {
@@ -86,9 +89,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