Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qmake vclib debug/release target naming: vs2008 vs vs2010
Forum Updated to NodeBB v4.3 + New Features

Qmake vclib debug/release target naming: vs2008 vs vs2010

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bulldozers
    wrote on last edited by
    #1

    Hi All,

    my .pro file contains the following:
    @
    CONFIG(debug, debug|release) {
    POST =D
    }

    TARGET = mylib$${POST}@

    A VS2008 .vsproj file generated from this .pro specifies the library output file is mylibD.lib for debug mode and mylib.lib for release, as requested.

    However, a VS2010 .vcxproj will output the library to the same exact file name for both debug and release. Looking at the generated project, the output is set to $(OutDir)$(TargetName)$(TargetExt), with $(TargetName) set to $(ProjectName), which is the same for both debug and release.

    For applications, the debug/release naming works fine for both VS2008 and VS2010.

    Could anyone comment if they've seen this and if there's something I'm missing? Is this a legitimate bug? Any feedback would be greatly appreciated.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved