Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50138 - sandbox/guigl/libs/guigl/build
From: stipe_at_[hidden]
Date: 2008-12-05 13:00:23


Author: srajko
Date: 2008-12-05 13:00:23 EST (Fri, 05 Dec 2008)
New Revision: 50138
URL: http://svn.boost.org/trac/boost/changeset/50138

Log:
binding separated from main library, choice of binding is a feature
Text files modified:
   sandbox/guigl/libs/guigl/build/Jamfile | 14 ++++++++++++++
   1 files changed, 14 insertions(+), 0 deletions(-)

Modified: sandbox/guigl/libs/guigl/build/Jamfile
==============================================================================
--- sandbox/guigl/libs/guigl/build/Jamfile (original)
+++ sandbox/guigl/libs/guigl/build/Jamfile 2008-12-05 13:00:23 EST (Fri, 05 Dec 2008)
@@ -6,6 +6,8 @@
 # http://www.boost.org/LICENSE_1_0.txt)
 #----------------------------------------------===============================*/
 
+import feature ;
+
 lib glut : : <name>glut <link>shared ;
 
 project boost/guigl
@@ -20,6 +22,15 @@
         <define>BOOST_ALL_NO_LIB=1
     ;
 
+feature.feature guigl_binding : glut fltk : propagated ;
+feature.set-default guigl_binding : glut ;
+
+lib boost_guigl_binding
+ :
+ window.cpp
+ : <guigl_binding>fltk:<define>BOOST_GUIGL_USE_FLTK_GLUT
+ ;
+
 SOURCES =
     window application
     widget/button widget/labeled_button
@@ -29,4 +40,7 @@
 lib boost_guigl
     : $(SOURCES).cpp
     [ obj widget_window_obj : widget/window.cpp ]
+ : : : <library>boost_guigl_binding
     ;
+
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk