Replies: 1 comment 1 reply
-
Thank you for your interest in improving vcpkg! I forwarded this to the rest of the maintainers to discuss at our next meeting. We should get back to you this week with an answer. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
Currently vcpkg.cmake consists of over 900 lines of largely unstructured code that operates on file-scoped variables accessing them at will for both input and output. This makes it hard to understand what the code actually does, and also makes it hard to introduce changes to the code.
I would like to refactor the code into functions with clearly-defined responsibilities, inputs and outputs. (The functions could also be placed in separate files and included into the main vcpkg.cmake file, but this is not the main goal). After the refactoring it would be much easier to implement new features such as [support for nested submodules/sub-projects] (#15279).
Before starting the refactoring work I would like to ask if you would you be ready to consider such a PR?
Beta Was this translation helpful? Give feedback.
All reactions