I want to create creating CMakeLists.txt to create build system for vs2022. which include Qt5, some other sdks and library.
I would recommend starting with the tutorial. You’ll need find_package(Qt5 COMPONENTS …)
with the list of components depending on your usage (e.g., Core Network
). The other SDKs and libraries will also likely want find_package
calls. How to use each package should be documented in the project or module (imported targets would be preferred).