Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Setting Projects -> Run -> Command line arguments via CMakeLists.txt
speedy last edited by
Is there a way to set command line arguments for run configurations in CMakeLists.txt? If there are many run configurations it's very tedious to set them all up manually.
For this purpose, Visual Studio CMake generator has VS_DEBUGGER_COMMAND_ARGUMENTS and XCode generator has XCODE_SCHEME_ARGUMENTS.
I think it would be quite useful for QT Creator to have a mechanism for devs to specify command line args via CMakeLists.txt.