aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-08-28 19:09:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-08-28 19:09:44 +0200
commit8e80e136db26543a93b7bb2c4e845fbf60a6db66 (patch)
tree7996ed5b045da1a9fc36f4aee8467652a0c5f29d
parent762f29a2a9ca7afd66c7cd11598e4d371a117ca7 (diff)
Limit c.std, cxx.std, and extension visibility to project
-rw-r--r--build2/c/init.cxx2
-rw-r--r--build2/context.cxx2
-rw-r--r--build2/cxx/init.cxx2
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<string> ("c.std", true),
+ v.insert<string> ("c.std", false, variable_visibility::project),
v.insert<string> ("c.id"),
v.insert<string> ("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<string> ("extension");
+ v.insert<string> ("extension", false, variable_visibility::project);
}
gs.assign<dir_path> ("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<string> ("cxx.std", true),
+ v.insert<string> ("cxx.std", false, variable_visibility::project),
v.insert<string> ("cxx.id"),
v.insert<string> ("cxx.id.type"),