X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=Build;h=f193a780a224a2c5cde340fb10424705460f7710;hp=1a4a262f3a1b6387683a4636af1beb222cae62ee;hb=7aaec9a70b8d7733429bec043f8e33e02956f266;hpb=44b8b5f558dc07eab052994867e5247b73618253 diff --git a/Build b/Build index 1a4a262f..f193a780 100644 --- a/Build +++ b/Build @@ -1,6 +1,6 @@ package "mspgl" { - version "2.0"; + version "3.0"; description "Lightweight C++/OpenGL graphics engine"; require "mspcore"; @@ -41,15 +41,39 @@ 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 "shaderlib"; + build_info + { + 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; 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"; + map "source/builders" "include/msp/gl"; map "extensions" "include/msp/gl/extensions"; - map "shaderlib" "include/msp/gl/resources"; }; }; @@ -60,18 +84,6 @@ package "mspgl" use "mspgl"; }; - program "shaders" - { - source "demos/shaders.cpp"; - use "mspgl"; - }; - - program "cubemap" - { - source "demos/cubemap.cpp"; - use "mspgl"; - }; - program "desertpillars" { source "demos/desertpillars.cpp";