Results 1 to 2 of 2

Thread: causing qmake to generate Makefile with the name Makefile.Unittest

  1. #1
    Join Date
    Nov 2010
    Location
    Houston, Texas, USA
    Posts
    30
    Thanks
    11
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default causing qmake to generate Makefile with the name Makefile.Unittest

    Hi All,

    I currently have a library project, lets call the lib 'foo'. Currently qmake has no problem creating makefiles from foo.pro with names like Makefile.Release and Makefile.Debug. I desire to modify foo.pro such that qmake creates an additional 'unittest' Makefile: Makefile.unitest.

    From a build point of view, a unittest build is just a debug build with UNITTEST defined. Something like DEFINES += UNITTEST should do the trick.

    I have not yet figured out what I must add to foo.pro to make this happen. Does anyone have a recommendation?

  2. #2
    Join Date
    Aug 2010
    Posts
    17
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: causing qmake to generate Makefile with the name Makefile.Unittest

    Is there any answer to this question at this point ?
    Regards, frank

Similar Threads

  1. Replies: 0
    Last Post: 12th October 2010, 05:14
  2. makefile without using QMake
    By Rayven in forum Qt Programming
    Replies: 2
    Last Post: 6th April 2010, 23:04
  3. Generate makefile
    By kaszewczyk in forum Newbie
    Replies: 2
    Last Post: 22nd March 2010, 19:12
  4. [qmake] Generate Makefile with include $(ORACLE_HOME)/precomp/env_precomp.mk
    By paulocarvalho_br_2009 in forum Qt Programming
    Replies: 10
    Last Post: 21st May 2009, 17:52
  5. Generate a correct makefile
    By SteM in forum Installation and Deployment
    Replies: 13
    Last Post: 22nd October 2007, 09:58

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.