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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important 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)

      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

        For Gerrit Dashboard: QTCREATORBUG-22176
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes