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
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 307 Views 2 Watching
  • 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 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

    • Login

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