Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-15510

-C argument to CMake doesn't work

    XMLWordPrintable

Details

    Description

      From a terminal, I can pass cmake an initial cache file like this:

      cmake -C /path/to/InitialCache.txt /path/to/source

      and it works correctly.

      However, in QtCreator, when I File->Open a CMakeLists.txt file, and set the Arguments text box to

      -C /patth/to/InitialCache.txt

      I get:

      "loading initial cache file /path/to/InitialCache.txt
      CMake Error: The source directory "/path/to/InitialCache.txt" is a file, not a directory."

      Any thoughts on this?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hunger Tobias Hunger
            daviddoria David Doria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes