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

CMake server mode ignores RUNTIME_OUTPUT_DIRECTORY

    XMLWordPrintable

Details

    Description

      CMake supports the following:

      set_target_properties(${TARGETNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY path/to/output )

      RUNTIME_OUTPUT_DIRECTORY allows specifying where to generate the exe file.

      Very often users want the working directory to default to wherever the exe was generated.

       

      Without server mode, Qt Creator got this right.

      With server mode, Qt Creator gets this wrong; setting the working directory on a very different location.

       

       

      This is a critical issue for us for moving to 4.3 as we have several dozens of apps which are now defaulting the wrong working dir; and it's unreasonable to change them one by one.

       

      Unfortunately, there is no way to globally disable CMake server mode

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            dark_sylinc Matias N. Goldberg
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes