Project

General

Profile

Actions

Support Request #6121

closed

EBPRODUCTSUPPORT-2777 Installation of pdb files does not work on non Visual Studio environment

Added by hidden about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Product Issue Opened
Affected Products:
Platform:
Windows 7 64bit
Topic:
ADTF::Common
FAQ Links:

Description

Support Anfrage:

Da gibt's nen fiesen bug in der ADTFMacros.cmake:

macro(adtf_install_target TARGET DIRECTORY)
install(TARGETS ${TARGET} DESTINATION ${DIRECTORY}/debug CONFIGURATIONS Debug)
install(TARGETS ${TARGET} DESTINATION ${DIRECTORY} CONFIGURATIONS Release RelWithDebInfo)
if(WIN32)
get_target_property(NAME ${TARGET} OUTPUT_NAME)
if(NOT NAME)
set(NAME ${TARGET})
endif(NOT NAME)
if(MSVC_IDE)
set(PDB_FULL_PATH_DEBUG ${CMAKE_CURRENT_BINARY_DIR}/${${TARGET}_BUILD_NAME_}/Debug/${NAME}.pdb)
install(FILES ${PDB_FULL_PATH_DEBUG} DESTINATION ${DIRECTORY}/debug CONFIGURATIONS Debug)
set(PDB_FULL_PATH_RELWITHDEBINFO ${CMAKE_CURRENT_BINARY_DIR}/${${TARGET}_BUILD_NAME_}/RelWithDebInfo/${NAME}.pdb)
install(FILES ${PDB_FULL_PATH_RELWITHDEBINFO} DESTINATION ${DIRECTORY} CONFIGURATIONS RelWithDebInfo)
elseif() # elseif() wird immer false, von daher werden die plbs nur bei VS-builds installiert
set(PDB_FULL_PATH ${CMAKE_CURRENT_BINARY_DIR}/${${TARGET}_BUILD_NAME_}/${NAME}.pdb)
install(FILES ${PDB_FULL_PATH} DESTINATION ${DIRECTORY}/debug CONFIGURATIONS Debug)
install(FILES ${PDB_FULL_PATH} DESTINATION ${DIRECTORY} CONFIGURATIONS RelWithDebInfo)
endif()
endif(WIN32)
endmacro(adtf_install_target TARGET DIRECTORY)

Gefunden unter schmerzen in Adtf 3.2 - 3.4.
Fix: elseif() durch else() ersetzen

Lösung:

Es wurde das Produktticket ACORE-9882 erstellt.
Die weitere Bearbeitung des Bug erfolgt im Produktticket.

Actions #1

Updated by hidden about 5 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Topic set to ADTF::Common
  • Customer set to ELEKTROBIT
  • Department set to SUPPORT
  • Affected Products ADTF 3.4.0 added
Actions #2

Updated by hidden about 5 years ago

@Wolfgang: Bitte ansehen. Ist schon ab 3.2.0 enthalten.

Actions #3

Updated by hidden about 5 years ago

Hallo Flo,

Danke für den Hinweis!

Wird behoben - bei der Gelegenheit schau ich mal, ob man das nicht mit Generator Expressions deutlich vereinfachen kann.

Actions #4

Updated by hidden about 5 years ago

  • Product Issue Numbers set to https://www.cip.audi.de/jira/browse/ACORE-9882
Actions #5

Updated by hidden about 5 years ago

  • Resolution set to Product Issue Opened
Actions #6

Updated by hidden about 5 years ago

  • Description updated (diff)
  • Status changed from In Progress to To Be Closed
  • Support Level changed from 2nd Level to 3rd Level
  • Platform Windows 7 64bit added
Actions #7

Updated by hidden about 5 years ago

  • Subject changed from EBPRODUCTSUPPORT-2777 ADTF 3: Installation of pdb files doesn't work on non-VS build to EBPRODUCTSUPPORT-2777 Installation of pdb files does not work on non Visual Studio environment
  • Status changed from To Be Closed to Closed
  • Private changed from Yes to No
Actions

Also available in: Atom PDF