aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-03-30 15:30:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-03-31 07:32:46 +0200
commitdfb51bc816cde2cb345f8a0300205e6ac95a2065 (patch)
treead5996b87bb3829f7058aa990fab65940b575249 /libbuild2/c
parent65340a0a897c91b580db1de0bab026a0814c5d74 (diff)
Switch to project variable visibility by default
Diffstat (limited to 'libbuild2/c')
-rw-r--r--libbuild2/c/init.cxx24
1 files changed, 11 insertions, 13 deletions
diff --git a/libbuild2/c/init.cxx b/libbuild2/c/init.cxx
index ffea0ca..e6e28aa 100644
--- a/libbuild2/c/init.cxx
+++ b/libbuild2/c/init.cxx
@@ -163,20 +163,18 @@ namespace build2
hinters,
- // Note: some overridable, some not.
- //
// NOTE: remember to update documentation if changing anything here.
//
- vp.insert<strings> ("config.c", true),
- vp.insert<string> ("config.c.id", true),
- vp.insert<string> ("config.c.version", true),
- vp.insert<string> ("config.c.target", true),
- vp.insert<string> ("config.c.std", true),
- vp.insert<strings> ("config.c.poptions", true),
- vp.insert<strings> ("config.c.coptions", true),
- vp.insert<strings> ("config.c.loptions", true),
- vp.insert<strings> ("config.c.aoptions", true),
- vp.insert<strings> ("config.c.libs", true),
+ vp.insert<strings> ("config.c"),
+ vp.insert<string> ("config.c.id"),
+ vp.insert<string> ("config.c.version"),
+ vp.insert<string> ("config.c.target"),
+ vp.insert<string> ("config.c.std"),
+ vp.insert<strings> ("config.c.poptions"),
+ vp.insert<strings> ("config.c.coptions"),
+ vp.insert<strings> ("config.c.loptions"),
+ vp.insert<strings> ("config.c.aoptions"),
+ vp.insert<strings> ("config.c.libs"),
nullptr /* config.c.translatable_headers */,
vp.insert<process_path> ("c.path"),
@@ -184,7 +182,7 @@ namespace build2
vp.insert<dir_paths> ("c.sys_lib_dirs"),
vp.insert<dir_paths> ("c.sys_inc_dirs"),
- vp.insert<string> ("c.std", variable_visibility::project),
+ vp.insert<string> ("c.std"),
vp.insert<strings> ("c.poptions"),
vp.insert<strings> ("c.coptions"),