View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014327CMakeCMakepublic2013-07-31 14:322016-06-10 14:31
ReporterRyan H. Kawicki 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOSWindows 7OS Version6.1.7601
Product VersionCMake 2.8.11.1 
Target VersionFixed in Version 
Summary0014327: CMAKE_<CONFIG>_POSTFIX For Executables
DescriptionAccording to the documentation, CMAKE_<CONFIG>_POSTFIX does not apply executables due to legacy reasons. It would be nice if this also applied to executables and then use the policy system to enforce OLD or NEW.
Steps To ReproduceSET(CMAKE_DEBUG_POSTFIX "D"
    CACHE STRING
    "Adds a debug postfix symbol, usually \"D\" on Windows."
    FORCE)

# the above does not apply to executables

SET_TARGET_PROPERTIES(${TargetProject}
                      PROPERTIES
                      DEBUG_POSTFIX "D")

# the above applies the postfix value for executables
Additional InformationSomething like:

CMAKE_POLICY(SET CMP0021 NEW)

would enforce the new standard of allowing CMAKE_<CONFIG>_POSTFIX to be applied to that configurations executables too.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033639)
Brad King (manager)
2013-07-31 14:38

There is a TODO comment in the source for this:

 http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmTarget.cxx;hb=v2.8.11.2#l1527 [^]
(0042334)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-07-31 14:32 Ryan H. Kawicki New Issue
2013-07-31 14:38 Brad King Note Added: 0033639
2013-07-31 14:38 Brad King Status new => backlog
2016-06-10 14:29 Kitware Robot Note Added: 0042334
2016-06-10 14:29 Kitware Robot Status backlog => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team