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

Casing of variables passed in on the command line behave differently than with nmake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 4.10.0-beta1
    • Qt Creator 4.8.2
    • Jom
    • None
    • nmake version:
      Microsoft (R) Program Maintenance Utility Version 14.16.27027.1
    • Windows
    • 307d95735ff48e3734bbae2037dafc2ea6404889 (qt-labs/jom/master)

    Description

      When passing in macros through the command line of jom, they are always converted to all uppercase. nmake defines them twice, once all uppercase and once with the original case.

       

      Makefile:

      FooBar=2
      !Message FooBar:$(FooBar) FOOBAR:$(FOOBAR)

      nmake FooBar=5

      FooBar:5 FOOBAR:5
      

      jom FooBar=5

      FooBar:2 FOOBAR:5
      

      And just for clarification

      nmake FOOBAR=5

      FooBar:2 FOOBAR:5
      

      jom FOOBAR=5

      FooBar:2 FOOBAR:5

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            jvehlow jvehlow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes