On Fri, 2018-12-07 at 21:48 +0100, Christian Ehrlicher wrote: > One really nice feature what I miss in cmake is the '-project' > option > from qmake. Basically it scans the current directory, adds all > sources, > headers and ui-files and creates a small .pro file out of it. It's a > very convenient feature when you just want to compile a small test > project. Creating an initial CMakeLists.txt from scratch takes much > longer and therefore this is the only place where I use qmake > (outside > the qt sources) > Maybe this can be added - simply read the current directory and pass > the > files found to a template CMakeLists.txt to create the project type > you > want - I assume not all ant to get a Qt project when such a feature > would be added to cmake... :)
Sounds like a nice idea! Would certainly help beginners get up and running quickly. Does qmake figure out which libraries you're using, etc. or does it just generate a barebones file that you have to fix up yourself if you want to add external dependencies? Kyle _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
