Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Setting Projects -> Run -> Command line arguments via CMakeLists.txt

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 287 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    speedy
    wrote on 23 Jun 2020, 09:24 last edited by
    #1

    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 Reply Last reply
    0

    1/1

    23 Jun 2020, 09:24

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved