Setting Projects -> Run -> Command line arguments via CMakeLists.txt

  • Hi all!

    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.


Log in to reply