View Issue Details

IDProjectCategoryView StatusLast Update
0004682Slicer4Core: Extensionspublic2019-04-01 09:33
Reporterjohan.andruejolAssigned Tojcfr 
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionopen 
Product VersionSlicer 4.11.0 
Target VersionFixed in Version 
Summary0004682: Launcher parameters does not evaluate <CMAKE_CFG_INTDIR> properly
Description

In extensions, one may want to add paths to be found as it is done in Slicer.
However, the <CMAKE_CFG_INTDIR> property does NOT get evaluated to Release (or Debug or RelWithDebInfo or ...) as it does
within Slicer.

Steps To Reproduce

Create an extension
Add following to External_Foo.cmake:
set(${proj}_LIBRARY_PATHS_LAUNCHER_BUILD ${${proj}_RUNTIME_OUTPUT_DIRECTORY}/<CMAKE_CFG_INTDIR>)
mark_as_superbuild(
VARS ${proj}_LIBRARY_PATHS_LAUNCHER_BUILD
LABELS "LIBRARY_PATHS_LAUNCHER_BUILD"
)
Configure & build
Open MyExtensionsBuild/inner-build/AdditionalSettings.ini

-> See additional library path evaluated as "(...)/<CMAKE_CFG_INTDIR>" instead of "(...)/Release" (or "(...)/Debug" or ...)

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-04-01 09:33 johan.andruejol New Issue
2019-04-01 09:33 johan.andruejol Status new => assigned
2019-04-01 09:33 johan.andruejol Assigned To => jcfr