Results 1 to 3 of 3

Thread: different output files in vcproj for release and debug

  1. #1
    Join Date
    May 2007
    Location
    Huntsville, Alabama
    Posts
    10
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default different output files in vcproj for release and debug

    What can I put in my .pro file that would create a vcproj file so that it would have a different output directory/filename in the output line when switching from debug to release?

    example. I am making two static libraries (one for debug and one for release). The output directory is ..\lib and the filenames are DataToArray.lib (for release mode) and DataToArray_d.lib (for debug mode).

    I'm using Qt4.3 and VS.NET 2003.

    Thanks,
    James

  2. #2
    Join Date
    Oct 2006
    Posts
    279
    Thanks
    6
    Thanked 40 Times in 39 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: different output files in vcproj for release and debug

    Qt Code:
    1. DESTDIR = ../lib/
    2.  
    3. CONFIG(release, debug|release){
    4. TARGET = DataToArray
    5. }
    6. CONFIG(debug, debug|release){
    7. TARGET = DataToArray_d
    8. }
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    May 2007
    Location
    Huntsville, Alabama
    Posts
    10
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: different output files in vcproj for release and debug

    Hey Thanks! It works great!

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.