From dfb51bc816cde2cb345f8a0300205e6ac95a2065 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 30 Mar 2020 15:30:08 +0200 Subject: Switch to project variable visibility by default --- libbuild2/c/init.cxx | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) (limited to 'libbuild2/c') 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 ("config.c", true), - vp.insert ("config.c.id", true), - vp.insert ("config.c.version", true), - vp.insert ("config.c.target", true), - vp.insert ("config.c.std", true), - vp.insert ("config.c.poptions", true), - vp.insert ("config.c.coptions", true), - vp.insert ("config.c.loptions", true), - vp.insert ("config.c.aoptions", true), - vp.insert ("config.c.libs", true), + vp.insert ("config.c"), + vp.insert ("config.c.id"), + vp.insert ("config.c.version"), + vp.insert ("config.c.target"), + vp.insert ("config.c.std"), + vp.insert ("config.c.poptions"), + vp.insert ("config.c.coptions"), + vp.insert ("config.c.loptions"), + vp.insert ("config.c.aoptions"), + vp.insert ("config.c.libs"), nullptr /* config.c.translatable_headers */, vp.insert ("c.path"), @@ -184,7 +182,7 @@ namespace build2 vp.insert ("c.sys_lib_dirs"), vp.insert ("c.sys_inc_dirs"), - vp.insert ("c.std", variable_visibility::project), + vp.insert ("c.std"), vp.insert ("c.poptions"), vp.insert ("c.coptions"), -- cgit v1.1