]> git.tdb.fi Git - libs/gl.git/commitdiff
Upgrade C++ standard version to C++14
authorMikko Rasa <tdb@tdb.fi>
Sun, 10 Dec 2023 14:07:14 +0000 (16:07 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 10 Dec 2023 22:29:04 +0000 (00:29 +0200)
Build

diff --git a/Build b/Build
index ddd4170ec7266ad0eab15306dc549b6022f00332..9de35f311ef3f75142ed31d6d0a60db1c1f5f850 100644 (file)
--- a/Build
+++ b/Build
@@ -40,6 +40,11 @@ package "mspgl"
                };
        };
 
+       build_info
+       {
+               standard CXX "c++14";
+       };
+
        generate "RES"
        {
                in_suffix ".glsl";
@@ -92,7 +97,6 @@ package "mspgl"
                        incpath "source/animation";
                        incpath "source/resources";
                        incpath "source/builders";
-                       standard CXX "c++11";
                };
                install true;
                install_map
@@ -123,10 +127,6 @@ package "mspgl"
                source "demos/desertpillars/source";
                require "sigc++-2.0";
                use "mspgl";
-               build_info
-               {
-                       standard CXX "c++14";
-               };
        };
 
        program "forestpond"
@@ -134,10 +134,6 @@ package "mspgl"
                source "demos/forestpond/source";
                require "sigc++-2.0";
                use "mspgl";
-               build_info
-               {
-                       standard CXX "c++14";
-               };
        };
 
        program "glslcompiler"