Implement the 'visibility' API for Android projects
This commit is contained in:
parent
cccad35b5e
commit
a2b78332c5
@ -338,6 +338,11 @@
|
||||
end
|
||||
end
|
||||
|
||||
-- -fvisibility=<>
|
||||
if cfg.visibility ~= nil then
|
||||
table.insert(opts, p.tools.gcc.cxxflags.visibility[cfg.visibility])
|
||||
end
|
||||
|
||||
if #opts > 0 then
|
||||
opts = table.concat(opts, " ")
|
||||
vc2010.element("AdditionalOptions", condition, '%s %%(AdditionalOptions)', opts)
|
||||
|
Reference in New Issue
Block a user