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

"nmake debug" builds example, though Qt is configured with -nomake examples

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • None
    • 5.0.0 RC 2
    • Build tools: qmake
    • None
    • MSVC 2008

      My configure line for qtbase is:

      configure -developer-build -opensource -confirm-license -no-vcproj -nomake examples -nomake tests
      

      As expected, the first target of the Makefile builds only the stuff in src.

      make_first: sub-src-make_first FORCE
      ...
      sub-src-make_first: FORCE
      	@if not exist src\ $(MKDIR) src\ 
      	@set MAKEFLAGS=$(MAKEFLAGS)
      	cd src\ && ( if not exist Makefile $(QMAKE) D:\dev\qt\5.0\qtbase\src\src.pro -o Makefile ) && $(MAKE) -f Makefile 
      

      But the debug and release targets still depend on examples.

      debug: sub-src-sub_Debug sub-examples-sub_Debug sub-tests-sub_Debug
      release: sub-src-sub_Release sub-examples-sub_Release sub-tests-sub_Release
      

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

            qtbuildsystem Qt Build System Team
            jbornema Joerg Bornemann
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes