Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Creator and "-k" argument to cmake?

Creator and "-k" argument to cmake?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 2 Posters 127 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.
  • JonBJ Offline
    JonBJ Offline
    JonB
    wrote last edited by
    #1
    • Does cmake have some kind of "keep going as much as you can after error during compiling one file" like the ever-useful make -k does?

    • ... And if so where can you set it on/off from Creator when doing your work...? :)

    1 Reply Last reply
    0
    • cristian-adamC Offline
      cristian-adamC Offline
      cristian-adam
      wrote last edited by
      #2

      Yes.

      cmake --build -- -k 0 for CMake with Ninja.

      Screenshot 2026-01-22 at 15.39.18.png

      JonBJ 1 Reply Last reply
      3
      • JonBJ JonB has marked this topic as solved
      • cristian-adamC cristian-adam

        Yes.

        cmake --build -- -k 0 for CMake with Ninja.

        Screenshot 2026-01-22 at 15.39.18.png

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote last edited by
        #3

        @cristian-adam
        Wow, thanks!
        When you say " for CMake with Ninja" I just use cmake, no Ninja or anything else. Still -k 0? Or is the 0 argument something to do with Ninja? I just know I used to type make -k years ago.

        cristian-adamC 1 Reply Last reply
        0
        • JonBJ JonB

          @cristian-adam
          Wow, thanks!
          When you say " for CMake with Ninja" I just use cmake, no Ninja or anything else. Still -k 0? Or is the 0 argument something to do with Ninja? I just know I used to type make -k years ago.

          cristian-adamC Offline
          cristian-adamC Offline
          cristian-adam
          wrote last edited by
          #4

          @JonB Then just -k for make.

          1 Reply Last reply
          3

          • Login

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