Details
-
Suggestion
-
Resolution: Duplicate
-
P2: Important
-
None
-
6.0.0
-
None
Description
Create a tool that mimics "qmake -project", but for CMake.
It should add the necessary find_package calls and add the source files.
Extra sugar on top: scan the source for includes and deduct the needed Qt modules.
There's https://github.com/KDAB/KDToolBox/blob/master/qt/cmake-project/cmake-project
but that's not platform-independent.
I suggest to implement this tool in CMake itself and run it by wrappers like configure/configure.bat.
Attachments
Issue Links
- duplicates
-
QTBUG-104388 Offer a CMake equivalent for qmake -project
-
- Closed
-