View Issue Details

IDProjectCategoryView StatusLast Update
0003701Slicer4Core: Building (CMake, Superbuild)public2018-03-02 11:00
Reporterjcfr Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.7.0Fixed in VersionSlicer 4.7.0 
Summary0003701: Dependent option are not properly passed to external project
Description

Rebuilding using

8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
cmake -DCMAKE_BUILD_TYPE:STRING=Release -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/jchris/Support/qt-everywhere-opensource-release-build-4.8.5/bin/qmake -DSlicer_USE_SimpleITK:BOOL=1 -DSlicer_USE_QtTesting:BOOL=0 -DSlicer_USE_PYTHONQT_WITH_OPENSSL:BOOL=1 -DSlicer_BUILD_CLI:BOOL=0 -DSlicer_BUILD_QTSCRIPTEDMODULES:BOOL=0 -DSlicer_BUILD_DIFFUSION_SUPPORT:BOOL=0 -DSlicer_BUILD_MULTIVOLUME_SUPPORT:BOOL=0 ../Slicer-1
8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----

doesn't set the variable Slicer_BUILD_EMSegment in the cache at the top level and as a consequence cause the following error in the inner build tree:

8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----
CMake Error at CMake/ExternalData.cmake:161 (add_test):
Error evaluating generator expression:

$&lt;TARGET_FILE:EMSegmentCommandLine>

No target "EMSegmentCommandLine"
Call Stack (most recent call first):
CMake/SlicerMacroSimpleTest.cmake:44 (ExternalData_add_test)
Applications/SlicerApp/Testing/Cpp/CMakeLists.txt:56 (simple_test)
8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----

TagsNo tags attached.

Activities

lassoan

lassoan

2017-09-27 10:50

developer   ~0015159

@jcfr is this still a problem?

jcfr

jcfr

2017-10-03 01:51

administrator   ~0015237

This should be fixed by https://github.com/Slicer/Slicer/pull/803

jcfr

jcfr

2017-10-03 13:53

administrator   ~0015247

Fixed in http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=26413

Issue History

Date Modified Username Field Change
2014-05-20 15:07 jcfr New Issue
2014-05-20 15:07 jcfr Status new => assigned
2014-05-20 15:07 jcfr Assigned To => jcfr
2014-05-20 15:07 jcfr Target Version => Slicer 4.4.0
2014-05-20 15:07 jcfr Description Updated
2014-07-29 09:45 jcfr Target Version Slicer 4.4.0 => Slicer 4.5.0-1
2015-11-02 08:51 jcfr Target Version Slicer 4.5.0-1 => Slicer 4.5.1
2016-10-13 01:57 jcfr Target Version Slicer 4.5.1 => Slicer 4.7.0
2017-09-27 10:50 lassoan Note Added: 0015159
2017-10-03 01:51 jcfr Note Added: 0015237
2017-10-03 13:53 jcfr Status assigned => resolved
2017-10-03 13:53 jcfr Resolution open => fixed
2017-10-03 13:53 jcfr Fixed in Version => Slicer 4.7.0
2017-10-03 13:53 jcfr Note Added: 0015247
2018-03-02 11:00 jcfr Status resolved => closed