premake-core
premake-core copied to clipboard
How can I disable a specific visual studio setting in premake?
What's your question?
I am trying to disable vcpkg and came across this issue but that did not solve my problem. In VS2022, vcpkg is a native feature that cannot be disabled (I tried to disable it from global editor setttings but Vcpkg was still enabled in my projects). Is there a way to pass a "custom" property in premake to modify a setting of visual studio, similar to xcodebuildsettings
?
Anything else we should know?
I manually disabled Vcpkg from UI and this is what is stored in project file:
<PropertyGroup Label="Vcpkg">
<VcpkgEnabled>false</VcpkgEnabled>
<VcpkgManifestInstall>false</VcpkgManifestInstall>
<VcpkgAutoLink>false</VcpkgAutoLink>
</PropertyGroup>
Late response, but you should be able to use the Call Arrays to add the functionality you want. See the docs here: https://premake.github.io/docs/Overrides-and-Call-Arrays
Thanks! I'll check it out!