X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=Build;h=581a4f2172058fb2b04113a93b566a3dd9d97895;hp=87da59f5fe6726d5db821e6f283e736eb6c958d5;hb=e92de029768eef5f0fd744329e589161b46d0762;hpb=c2d76c50e855af0dc4ced7728fc9c44f1ad4ebc7 diff --git a/Build b/Build index 87da59f5..581a4f21 100644 --- 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"; @@ -41,15 +43,40 @@ package "mspgl" library "mspgl" { - source "source"; + source "source/core"; + source "source/materials"; + source "source/render"; + source "source/effects"; + source "source/animation"; + source "source/resources"; + 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/builders"; + }; install true; install_map { - map "source" "include/msp/gl"; + map "source/core" "include/msp/gl"; + map "source/materials" "include/msp/gl"; + map "source/render" "include/msp/gl"; + map "source/effects" "include/msp/gl"; + map "source/animation" "include/msp/gl"; + map "source/resources" "include/msp/gl"; + map "source/glsl" "include/msp/gl/glsl"; + map "source/builders" "include/msp/gl"; map "extensions" "include/msp/gl/extensions"; - map "shaderlib" "include/msp/gl/resources"; }; }; @@ -62,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