From 8e80e136db26543a93b7bb2c4e845fbf60a6db66 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 Aug 2016 19:09:44 +0200 Subject: Limit c.std, cxx.std, and extension visibility to project --- build2/c/init.cxx | 2 +- build2/context.cxx | 2 +- build2/cxx/init.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build2/c/init.cxx b/build2/c/init.cxx index d579c90..7d104b0 100644 --- a/build2/c/init.cxx +++ b/build2/c/init.cxx @@ -159,7 +159,7 @@ namespace build2 v["cc.type"], v["cc.system"], - v.insert ("c.std", true), + v.insert ("c.std", false, variable_visibility::project), v.insert ("c.id"), v.insert ("c.id.type"), diff --git a/build2/context.cxx b/build2/context.cxx index 422ecac..ac972ac 100644 --- a/build2/context.cxx +++ b/build2/context.cxx @@ -230,7 +230,7 @@ namespace build2 // v.insert ("subprojects"); - v.insert ("extension"); + v.insert ("extension", false, variable_visibility::project); } gs.assign ("build.work") = work; diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx index d41978c..9aa30dc 100644 --- a/build2/cxx/init.cxx +++ b/build2/cxx/init.cxx @@ -159,7 +159,7 @@ namespace build2 v["cc.type"], v["cc.system"], - v.insert ("cxx.std", true), + v.insert ("cxx.std", false, variable_visibility::project), v.insert ("cxx.id"), v.insert ("cxx.id.type"), -- cgit v1.1