Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-2751

Invalid Makefile generated for the subdirs template when using debug_and_release

    XMLWordPrintable

Details

    Description

      When generating a Makefile for the subdirs template and using debug_and_release in CONFIG the Makefile generated will have an invalid dependency for sub-<directory>-sub_Debug, for instance when "dir1" is one of the subdirectories then the Makefile will contain the following lines

      dir1/$(MAKEFILE):
      @$(CHK_DIR_EXISTS) dir1/ || $(MKDIR) dir1/
      cd dir1/ && $(QMAKE) dir1.pro -unix CONFIG+=thread -o $(MAKEFILE)
      [...]
      sub-dir1-sub_Debug: dir1//$(MAKEFILE)
      cd dir1/ && $(MAKE) debug

      and the double slash in the second last line above will cause make to fail.

      Attachments

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

        Activity

          People

            stormols Marius Storm-Olsen
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes