Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52029 - in sandbox-branches/andreo/guigl: boost/guigl boost/guigl/platform/impl libs/guigl/build/vc8ide libs/guigl/example
From: andreytorba_at_[hidden]
Date: 2009-03-28 09:01:36


Author: andreo
Date: 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
New Revision: 52029
URL: http://svn.boost.org/trac/boost/changeset/52029

Log:
making compilable on GCC
added pch.hpp
Text files modified:
   sandbox-branches/andreo/guigl/boost/guigl/ggl.hpp | 2 +-
   sandbox-branches/andreo/guigl/boost/guigl/gl.hpp | 2 +-
   sandbox-branches/andreo/guigl/boost/guigl/platform/impl/color.hpp | 2 +-
   sandbox-branches/andreo/guigl/boost/guigl/platform/impl/glut.hpp | 2 +-
   sandbox-branches/andreo/guigl/boost/guigl/platform/impl/light.hpp | 2 +-
   sandbox-branches/andreo/guigl/boost/guigl/platform/impl/material.hpp | 2 +-
   sandbox-branches/andreo/guigl/boost/guigl/platform/impl/rect.hpp | 2 +-
   sandbox-branches/andreo/guigl/boost/guigl/platform/impl/vertex.hpp | 2 +-
   sandbox-branches/andreo/guigl/libs/guigl/build/vc8ide/example.vcproj | 8 ++++++++
   sandbox-branches/andreo/guigl/libs/guigl/example/Jamfile | 19 +++++++++++--------
   sandbox-branches/andreo/guigl/libs/guigl/example/custom_example.cpp | 1 +
   sandbox-branches/andreo/guigl/libs/guigl/example/ggl.cpp | 22 ++++++++++++----------
   sandbox-branches/andreo/guigl/libs/guigl/example/overlapping_example.cpp | 1 +
   sandbox-branches/andreo/guigl/libs/guigl/example/polygon.cpp | 2 ++
   sandbox-branches/andreo/guigl/libs/guigl/example/sexy_button.cpp | 1 +
   sandbox-branches/andreo/guigl/libs/guigl/example/two_buttons.cpp | 1 +
   sandbox-branches/andreo/guigl/libs/guigl/example/two_spheres.cpp | 2 ++
   sandbox-branches/andreo/guigl/libs/guigl/example/window_example.cpp | 2 ++
   sandbox-branches/andreo/guigl/libs/guigl/example/window_only_example.cpp | 2 +-
   19 files changed, 50 insertions(+), 27 deletions(-)

Modified: sandbox-branches/andreo/guigl/boost/guigl/ggl.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/ggl.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/ggl.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -517,4 +517,4 @@
 
 }}}
 
-#endif BOOST__GUIGL__GGL_HPP
+#endif // BOOST__GUIGL__GGL_HPP

Modified: sandbox-branches/andreo/guigl/boost/guigl/gl.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/gl.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/gl.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -290,4 +290,4 @@
 #include "platform/impl/glut.hpp"
 #include "platform/impl/tess.hpp"
 
-#endif BOOST__GUIGL__GL_HPP
+#endif // BOOST__GUIGL__GL_HPP

Modified: sandbox-branches/andreo/guigl/boost/guigl/platform/impl/color.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/platform/impl/color.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/platform/impl/color.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -107,4 +107,4 @@
 
 }}}
 
-#endif BOOST__GUIGL__GL__COLOR_HPP
+#endif // BOOST__GUIGL__GL__COLOR_HPP

Modified: sandbox-branches/andreo/guigl/boost/guigl/platform/impl/glut.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/platform/impl/glut.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/platform/impl/glut.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -105,4 +105,4 @@
 
 }}}
 
-#endif
+#endif // BOOST__GUIGL__GL__GLUT_HPP

Modified: sandbox-branches/andreo/guigl/boost/guigl/platform/impl/light.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/platform/impl/light.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/platform/impl/light.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -270,4 +270,4 @@
 
 }}}
 
-#endif BOOST__GUIGL__GL__LIGHT_HPP
+#endif // BOOST__GUIGL__GL__LIGHT_HPP

Modified: sandbox-branches/andreo/guigl/boost/guigl/platform/impl/material.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/platform/impl/material.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/platform/impl/material.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -164,4 +164,4 @@
     }
 }}}
 
-#endif BOOST__GUIGL__GL__MATERIAL_HPP
+#endif // BOOST__GUIGL__GL__MATERIAL_HPP

Modified: sandbox-branches/andreo/guigl/boost/guigl/platform/impl/rect.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/platform/impl/rect.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/platform/impl/rect.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -56,4 +56,4 @@
 
 }}}
 
-#endif BOOST__GUIGL__GL__RECT_HPP
+#endif // BOOST__GUIGL__GL__RECT_HPP

Modified: sandbox-branches/andreo/guigl/boost/guigl/platform/impl/vertex.hpp
==============================================================================
--- sandbox-branches/andreo/guigl/boost/guigl/platform/impl/vertex.hpp (original)
+++ sandbox-branches/andreo/guigl/boost/guigl/platform/impl/vertex.hpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -103,4 +103,4 @@
 
 }}} // gl
 
-#endif BOOST__GUIGL__GL__VERTEX_HPP
+#endif // BOOST__GUIGL__GL__VERTEX_HPP

Modified: sandbox-branches/andreo/guigl/libs/guigl/build/vc8ide/example.vcproj
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/build/vc8ide/example.vcproj (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/build/vc8ide/example.vcproj 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -71,6 +71,14 @@
>
                 </File>
                 <File
+ RelativePath="..\..\example\overlapping_example.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\example\pch.hpp"
+ >
+ </File>
+ <File
                         RelativePath="..\..\example\polygon.cpp"
>
                 </File>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/Jamfile
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/Jamfile (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/Jamfile 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -8,27 +8,30 @@
 
 project boost/guigl/example
     : requirements
+ <include>.
         <library>$(TOP)/libs/guigl/build//boost_guigl/<use-window-manager>platform_glut
     ;
 
+cpp-pch pch : pch.hpp ;
+
 exe window_example
     :
- window_example.cpp two_spheres.cpp two_buttons.cpp
+ window_example.cpp two_spheres.cpp two_buttons.cpp pch
     ;
 
 exe window_example_static
     :
- window_example.cpp two_spheres.cpp two_buttons.cpp
+ window_example.cpp two_spheres.cpp two_buttons.cpp pch
     :
        <link>static
     ;
 
-exe custom_example : custom_example.cpp ;
-exe window_only_example : window_only_example.cpp ;
-exe overlapping_example : overlapping_example.cpp ;
-exe sexy_button : sexy_button.cpp ;
-exe ggl : ggl.cpp ;
-exe polygon : polygon.cpp ;
+exe custom_example : custom_example.cpp pch ;
+exe window_only_example : window_only_example.cpp pch ;
+exe overlapping_example : overlapping_example.cpp pch ;
+exe sexy_button : sexy_button.cpp pch ;
+exe ggl : ggl.cpp pch ;
+exe polygon : polygon.cpp pch ;
 
 install window_example_stage
     :

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/custom_example.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/custom_example.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/custom_example.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,7 @@
     http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
 
 #include <boost/guigl/application.hpp>
 #include <boost/guigl/window.hpp>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/ggl.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/ggl.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/ggl.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,8 @@
 http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
+
 #include <boost/guigl/application.hpp>
 #include <boost/guigl/window.hpp>
 #include <boost/guigl/view/positioned.hpp>
@@ -65,16 +67,16 @@
             point<RB>());
         ggl::draw(b);
 
- // segment
- gl::color(green(0.5f));
- gl::line_width(2);
- ggl::draw(segment<HC>());
- ggl::draw(segment<VC>());
-
- gl::color(red(0.2f));
- gl::line_width(5);
- ggl::draw(segment<D1>());
- ggl::draw(segment<D2>());
+ //// segment
+ //gl::color(green(0.5f));
+ //gl::line_width(2);
+ //ggl::draw(segment<HC>());
+ //ggl::draw(segment<VC>());
+
+ //gl::color(red(0.2f));
+ //gl::line_width(5);
+ //ggl::draw(segment<D1>());
+ //ggl::draw(segment<D2>());
 
         // std::vector as a ring
         gl::color(black());

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/overlapping_example.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/overlapping_example.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/overlapping_example.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,7 @@
     http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
 
 #include <boost/guigl/application.hpp>
 #include <boost/guigl/window.hpp>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/polygon.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/polygon.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/polygon.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,8 @@
 http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
+
 #include <boost/guigl/application.hpp>
 #include <boost/guigl/window.hpp>
 #include <boost/guigl/view/mouse_tracking.hpp>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/sexy_button.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/sexy_button.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/sexy_button.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,7 @@
 http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
 
 #include <boost/guigl/application.hpp>
 #include <boost/guigl/window.hpp>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/two_buttons.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/two_buttons.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/two_buttons.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,7 @@
     http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
 
 #include "two_buttons.hpp"
 #include <boost/guigl/view/impl/static_compound.hpp>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/two_spheres.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/two_spheres.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/two_spheres.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,8 @@
     http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
+
 #include "two_spheres.hpp"
 
 #include <boost/guigl/view/impl/colored.hpp>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/window_example.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/window_example.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/window_example.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,6 +6,8 @@
     http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
+#include "pch.hpp"
+
 #include <boost/guigl/application.hpp>
 #include <boost/guigl/window.hpp>
 #include <boost/guigl/layout/grid.hpp>

Modified: sandbox-branches/andreo/guigl/libs/guigl/example/window_only_example.cpp
==============================================================================
--- sandbox-branches/andreo/guigl/libs/guigl/example/window_only_example.cpp (original)
+++ sandbox-branches/andreo/guigl/libs/guigl/example/window_only_example.cpp 2009-03-28 09:01:34 EDT (Sat, 28 Mar 2009)
@@ -6,7 +6,7 @@
     http://www.boost.org/LICENSE_1_0.txt)
 -----------------------------------------------===============================*/
 
-
+#include "pch.hpp"
 
 //[ window_only_example_includes
 #include <boost/guigl/application.hpp>


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