Setting Projects -> Run -> Command line arguments via CMakeLists.txt
Unsolved
General and Desktop
-
wrote on 23 Jun 2020, 09:24 last edited by
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.
Thanks,
Milan
1/1