]> git.tdb.fi Git - libs/gl.git/blobdiff - Build
Load various built-in things through Resources
[libs/gl.git] / Build
diff --git a/Build b/Build
index f193a780a224a2c5cde340fb10424705460f7710..19831c3e54cc5eed723f2f91acd9572ccd288f63 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,16 +52,17 @@ package "mspgl"
                source "source/glsl";
                source "source/builders";
                source "extensions";
+               source "builtin_data";
                source "shaderlib";
                build_info
                {
+                       incpath "source";
                        incpath "source/core";
                        incpath "source/materials";
                        incpath "source/render";
                        incpath "source/effects";
                        incpath "source/animation";
                        incpath "source/resources";
-                       incpath "source/glsl";
                        incpath "source/builders";
                };
                install true;
@@ -71,7 +74,7 @@ package "mspgl"
                        map "source/effects" "include/msp/gl";
                        map "source/animation" "include/msp/gl";
                        map "source/resources" "include/msp/gl";
-                       map "source/glsl" "include/msp/gl";
+                       map "source/glsl" "include/msp/gl/glsl";
                        map "source/builders" "include/msp/gl";
                        map "extensions" "include/msp/gl/extensions";
                };