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

jom: dependency automatic variable $? does behave different on non-existing targets

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • Qt Creator 3.5.0-beta1
    • Qt Creator 3.3.2
    • Jom
    • None
    • Windows Server 2012 R2

    Description

      jom 1.0.14 does not handle $? correctly

      Makefile

      out.txt: Makefile
      	@echo "$?"
      	@echo "$**"
      	@echo "$@"
      

      Case 1: out.txt newer than Makefile

      jom and nmake do not touch the build rules. Cool.

      Case 2: out.txt older than Makefile

      Same behavior, cool.

      nmake (msvc2013) output:

      "Makefile"
      "Makefile"
      "out.txt"
      

      jom 1.0.14 output:

      "Makefile"
      "Makefile"
      "out.txt"
      

      Case 3: out.txt does not exist

      Here is where the touble begins

      nmake (msvc2013) output:

      "Makefile"
      "Makefile"
      "out.txt"
      

      jom 1.0.14 output:

      ""
      "Makefile"
      "out.txt"
      

      Both commands run from the Developer Command Line Prompt for VS2013

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            webmaster128 Simon Warta
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes