X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=Build;h=6bf5ebb03a11208134dcf638ae001a36c735c663;hp=f193a780a224a2c5cde340fb10424705460f7710;hb=54fdd850d1e657bc357d859a532497905ded741a;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266 diff --git a/Build b/Build index f193a780..6bf5ebb0 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"; @@ -49,18 +51,22 @@ package "mspgl" source "source/resources"; source "source/glsl"; source "source/builders"; + source "source/backends/opengl"; 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"; + incpath "source/backends/opengl"; + standard CXX "c++11"; }; install true; install_map @@ -71,8 +77,9 @@ 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 "source/backends/opengl" "include/msp/gl"; map "extensions" "include/msp/gl/extensions"; }; }; @@ -86,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