Changesets: Slicer

2145-support-for-installing-extension-from-file 52440c4b

2013-03-12 07:20:07

jcfr

Details Diff
COMP: Fix "-fPIC" DWIConvert build error related to DoubleConvert project

See also https://github.com/BRAINSia/BRAINSTools/issues/3

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21792 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_DoubleConvert.cmake Diff File

2145-support-for-installing-extension-from-file 3a10d75b

2013-03-12 07:20:05

jcfr

Details Diff
COMP: Fix double-convert external project so that it works as intended

1) The previous version was working because the double-conversion project
was exporting its build tree in the cmake package registry.

See http://www.cmake.org/cmake/help/v2.8.10/cmake.html#command:export

Since the package was exported, the find_package(double-conversion ..) within
BRAINSTools was working. Line like the following weren't not used at all:

list(APPEND ${CMAKE_PROJECT_NAME}_SUPERBUILD_EP_VARS ${extProjName}_DIR:PATH)

2) Remove dependency to DCMTK. See https://github.com/BRAINSia/BRAINSTools/issues/5

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21791 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild.cmake Diff File
mod - SuperBuild/External_BRAINSTools.cmake Diff File
mod - SuperBuild/External_DoubleConvert.cmake Diff File

2145-support-for-installing-extension-from-file 1daf2644

2013-03-11 23:00:06

hjohnson

Details Diff
COMP: DoubleConvert needs to be included

In order to build BRAINSTools, the External_DoubleConvert.cmake needs
to be built prior to building the BRAINSTools.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21790 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild.cmake Diff File
add - SuperBuild/External_DoubleConvert.cmake Diff File

2145-support-for-installing-extension-from-file d30d305e

2013-03-11 19:15:18

fedorov

Details Diff
BUG: load() now returns the loaded node

This behavior is consistent with the other plugins.


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21789 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_MultiVolumeImporter.cmake Diff File

2145-support-for-installing-extension-from-file 22e668e0

2013-03-09 15:31:59

hjohnson

Details Diff
ENH: Update the BRAINSTools Suite.

The BRAINSTools suite has moved to a new repository
to better reflect a consistent and meaningful name.
During this move, a significant amount of code and git
cleanup was done to reduce the size of the git repository.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21788 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_BRAINSTools.cmake Diff File
mod - SuperBuild/External_ITKv4.cmake Diff File

2145-support-for-installing-extension-from-file b42025f9

2013-03-05 18:46:16

jcfr

Details Diff
STYLE: Rename "GradientAnisotropicDiffusion" baselines to be explicit

Naming files/functions/classes something1, something2, something3 .. is
not helpful to understand what the files/functions/classes are used for.

This commit rename baselines and test to be explicit and also remove
the comment in the CMakeLists (now unnecessary and redundant).

From: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21787 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/CLI/GradientAnisotropicDiffusion/Testing/CMakeLists.txt Diff File

2145-support-for-installing-extension-from-file 25d04ae7

2013-03-05 18:46:12

jcfr

Details Diff
BUG: UseImageSpacing defaults for GradientAnisotropicDiffusion

When Slicer4 was switched from ITKv3 to ITKv4, the
GradientAnisotropicDiffusionImageFilterTest started failing. This is
because the default for the parameter "UseImageSpacing" changed from
"off" to "on" between these versions of ITK. This patch adds an
advanced option to the CLI to enable the user to choose whether to use
image spacing, and the default is "on" in accordance with the new ITK
behavior. Tests are added that test turning this variable both on and
off, and a new regression test image is included to test the case when
the parameter is on. With these changes, the tests should pass when
both ITKv3 and ITKv4 are used.

From: Dirk Padfield <padfield@ge.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21786 3bd1e089-480b-0410-8dfb-8563597acbee
add - Modules/CLI/GradientAnisotropicDiffusion/Data/Baseline/GradientAnisotropicDiffusionTest2.nhdr Diff File
add - Modules/CLI/GradientAnisotropicDiffusion/Data/Baseline/GradientAnisotropicDiffusionTest2.raw.gz Diff File
mod - Modules/CLI/GradientAnisotropicDiffusion/GradientAnisotropicDiffusion.cxx Diff File
mod - Modules/CLI/GradientAnisotropicDiffusion/GradientAnisotropicDiffusion.xml Diff File
mod - Modules/CLI/GradientAnisotropicDiffusion/Testing/CMakeLists.txt Diff File

2145-support-for-installing-extension-from-file 6f6026d1

2013-03-05 18:18:53

jcfr

Details Diff
BUG: Fix ResampleScalarVectorDWIVolumeBSplineInterpolationTest

Based on discussion with module maintainer, the test failure was
due to the transition to ITKv4. There were other improvements to
the BSpline code.
See http://slicer-devel.65872.n3.nabble.com/Slicer-baselines-need-to-be-updated-due-to-ITKv4-integration-tp4027636p4027789.html

The update of the baseline has been done with the following command:
cp /home/jchris/Projects/Slicer-AHM-Superbuild-Debug/Slicer-build/Testing/Temporary/ResampleScalarVectorDWIVolumeBSplineInterpolationTest.nrrd /home/jchris/Projects/Slicer-AHM/Testing/Data/Input/MRHeadResampledBSplineInterpolationTest.nrrd

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21785 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Testing/Data/Input/MRHeadResampledBSplineInterpolationTest.nrrd Diff File

2145-support-for-installing-extension-from-file 0252e623

2013-03-05 18:18:50

jcfr

Details Diff
BUG: Fix ResampleDTIVolumeBSplineInterpolationTest

Based on discussion with module maintainer, the test failure was
due to the transition to ITKv4. There were other improvements to
the BSpline code.
See http://slicer-devel.65872.n3.nabble.com/Slicer-baselines-need-to-be-updated-due-to-ITKv4-integration-tp4027636p4027789.html

The update of the baseline has been done with the following command:
cp /home/jchris/Projects/Slicer-AHM-Superbuild-Debug/Slicer-build/Testing/Temporary/dt-helix-transformed4.nrrd /home/jchris/Projects/Slicer-AHM/Modules/CLI/ResampleDTIVolume/Testing/../Data/Baseline/dt-helix-ref-BSInterpolation.nrrd

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21784 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/CLI/ResampleDTIVolume/Data/Baseline/dt-helix-ref-BSInterpolation.nrrd Diff File

2145-support-for-installing-extension-from-file 623cc71a

2013-03-05 18:18:47

jcfr

Details Diff
STYLE: Remove redundant comment appended to SlicerTargets.cmake

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21783 3bd1e089-480b-0410-8dfb-8563597acbee
mod - CMakeLists.txt Diff File

2145-support-for-installing-extension-from-file 2e642dcd

2013-02-28 16:18:39

pieper

Details Diff
BUG: 0002983 and 0002206 fix position of the dicom popup

Detect when the window is already open so it doesn't get repositioned
more than once. Also keep track of when you have applied the
settings geometry and then don't apply the standard placement
in that case.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21782 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DICOM/DICOMLib/DICOMWidgets.py Diff File

2145-support-for-installing-extension-from-file bd7e9f88

2013-02-27 19:14:41

pieper

Details Diff
ENH: Added one-up quantitative layout
Closes 0002969

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21781 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Applications/SlicerApp/Resources/UI/qSlicerAppMainWindow.ui Diff File
mod - Applications/SlicerApp/qSlicerAppMainWindow.cxx Diff File
mod - Libs/MRML/Core/vtkMRMLLayoutNode.h Diff File
mod - Libs/MRML/Logic/vtkMRMLLayoutLogic.cxx Diff File
add - Libs/MRML/Widgets/Resources/Icons/LayoutOneUpQuantitativeView.png Diff File
mod - Libs/MRML/Widgets/Resources/qMRMLWidgets.qrc Diff File

2145-support-for-installing-extension-from-file d9e6edd4

2013-02-27 16:02:35

pieper

Details Diff
BUG: 0002831 - allow loading of secondary capture dicom files

Sometimes people create 'secondary capture' (SC) dicom types as a byproduct
of anonymization or other data processing. While is really meant
to be a 2D screen capture, when you have a stack of them it is
sometime desirable to load them as a volume. So with this change
we allow loading with a warning, and with a low confidence so that
some other plugin can precome the default selection if it is better
able to load this data.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21780 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DICOMPlugins/DICOMScalarVolumePlugin.py Diff File

2145-support-for-installing-extension-from-file 6547853e

2013-02-27 16:02:33

pieper

Details Diff
ENH: print a stack trace when a dicom plugin fails to execute

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21779 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DICOM/DICOMLib/DICOMWidgets.py Diff File

2145-support-for-installing-extension-from-file 68707493

2013-02-27 11:01:04

pieper

Details Diff
BUG: fix a warning message when dicom file has been deleted

The Recent Activity widget now gracefully handles the case where
files have been deleted that are referenced in the database.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21778 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DICOM/DICOMLib/DICOMWidgets.py Diff File

2145-support-for-installing-extension-from-file 4da1fd47

2013-02-27 11:01:01

pieper

Details Diff
ENH: implement 0002206 and 0002983

Since the browser is raised when the module is entered, people
naturally think that pressing the button that enters the module
will also open the browser; but when the module is already active,
selecting the module is a no-op and the browser is closed.

With this change, the action will also raise the browser when
the module is active, so it conforms with expectations.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21777 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/DICOM/DICOM.py Diff File

2145-support-for-installing-extension-from-file c42c0a1e

2013-02-25 16:32:30

jcfr

Details Diff
COMP: Change "SuperBuildExtensionTemplate" layout to support addition of modules.

* The new template has been reorganized to easily support the addition of
new modules.

* Folder has been removed from "SuperBuildLoadableExtensionTemplate" to "SuperBuildExtensionTemplate"
to better reflect the role of the template.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21776 3bd1e089-480b-0410-8dfb-8563597acbee
add - Extensions/Testing/SuperBuildExtensionTemplate/CMakeLists.txt Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperBuild/External_Foo.cmake Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/CMakeLists.txt Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/Data/Baseline/SuperCLIModuleTemplateTest.nhdr.md5 Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/Data/Baseline/SuperCLIModuleTemplateTest.raw.md5 Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/Data/Input/CTHeadAxial.nhdr.md5 Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/Data/Input/CTHeadAxial.raw.gz.md5 Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/SuperCLIModuleTemplate.cxx Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/SuperCLIModuleTemplate.xml Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/Testing/CMakeLists.txt Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/Testing/Cxx/CMakeLists.txt Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperCLIModuleTemplate/Testing/Cxx/SuperCLIModuleTemplateTest.cxx Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperLoadableModuleTemplate/CMakeLists.txt Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperLoadableModuleTemplate/Resources/Icons/SuperLoadableModuleTemplate.png Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperLoadableModuleTemplate/Resources/UI/qSlicerSuperLoadableModuleTemplateFooBarWidget.ui Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperLoadableModuleTemplate/Widgets/CMakeLists.txt Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperLoadableModuleTemplate/Widgets/qSlicerSuperLoadableModuleTemplateFooBarWidget.cxx Diff File
add - Extensions/Testing/SuperBuildExtensionTemplate/SuperLoadableModuleTemplate/Widgets/qSlicerSuperLoadableModuleTemplateFooBarWidget.h Diff File
rm - Extensions/Testing/SuperBuildLoadableExtensionTemplate/CMakeLists.txt Diff File
rm - Extensions/Testing/SuperBuildLoadableExtensionTemplate/Documentation/SuperBuildLoadableExtensionTemplate.dox Diff File
rm - Extensions/Testing/SuperBuildLoadableExtensionTemplate/Resources/Icons/SuperBuildLoadableExtensionTemplate.png Diff File

2145-support-for-installing-extension-from-file 68fcdf49

2013-02-24 15:38:50

jcfr

Details Diff
COMP: Fix warning "Slicer_BUILD_SkullStripper" is unused.

The option has been added by r18797, then when SkullStripper
has been converted to be a regular extension (r20088) the variable
"Slicer_BUILD_SkullStripper" should have been removed from SuperBuild.cmake.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21775 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild.cmake Diff File

2145-support-for-installing-extension-from-file fb88038a

2013-02-24 15:38:48

jcfr

Details Diff
COMP: Update system to use CMake built-in macro "cmake_parse_arguments"

SLICER_PARSE_ARGUMENTS has been kept around but will display an error
message if it used by some extension. That will give the opportunity
for extension maintainer to update their CMakeLists.txt.

Considering that the file "CMakeParseArguments" is also included in the
code base associated with Slicer 4.2.2-1, simply updating the extension
so that "cmake_parse_arguments" is used will be sufficient. Say differently,
CMakeLists.txt maintained for both extension build against Slicer nightly
and Slicer 4.2.2-1 won't diverge.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21774 3bd1e089-480b-0410-8dfb-8563597acbee
mod - CMake/SlicerFunctionInstallLibrary.cmake Diff File
mod - CMake/SlicerMacroBuildBaseQtLibrary.cmake Diff File
mod - CMake/SlicerMacroBuildModuleLogic.cmake Diff File
mod - CMake/SlicerMacroBuildModuleMRML.cmake Diff File
mod - CMake/SlicerMacroBuildModuleQtLibrary.cmake Diff File
mod - CMake/SlicerMacroBuildModuleVTKLibrary.cmake Diff File
mod - CMake/SlicerMacroBuildModuleWidgets.cmake Diff File
mod - CMake/SlicerMacroBuildQtModule.cmake Diff File
mod - CMake/SlicerMacroParseArguments.cmake Diff File
mod - CMake/SlicerMacroPythonWrapModuleVTKLibrary.cmake Diff File
mod - CMakeLists.txt Diff File

2145-support-for-installing-extension-from-file ae670f9a

2013-02-24 15:17:38

pieper

Details Diff
ENH: allow LabelEffect subclasses to selectively disable some features

Paint Over and Threshold options may not be possible to implement
for some label effects, so make it possible for the subclass to disable
display of the widgets.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21773 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/EditorLib/LabelEffect.py Diff File

2145-support-for-installing-extension-from-file 3bcf451e

2013-02-24 00:16:35

jcfr

Details Diff
COMP: Update ITKv4 tag to ensure Slicer DCMTK libraries are used.

Warning: Since the ITK version will now be 4.4 instead of 4.3. It is
recommended that developers should make sure to remove "4.3" related
library from their build tree.
On macosx/linux, one way of removing the libraries would be:
cd /path/to/Slicer-Superbuild/ITK-build
rm -rf lib/*4.3*

This commit intend to fix issue detailed in both Slicer
issue 2883 and issue 2978.

In a nutshell, a link error like the following was occurring:

Linking CXX executable ../../../lib/Slicer-4.2/cli-modules/DTIimport
/path/to/Slicer-build/ITKv4-build/lib/libITKIODCMTK-4.4.so.1: undefined reference to `OFFilename::OFFilename(char const*, bool)'
/path/to/Slicer-build/ITKv4-build/lib/libITKIODCMTK-4.4.so.1: undefined reference to `OFFilename::~OFFilename()'
collect2: error: ld returned 1 exit status
make[5]: *** [lib/Slicer-4.2/cli-modules/DTIexport] Error 1

In that specific case, the CMakeCache of ITK build was referencing
the wrong dcmdata library:
DCMTK_dcmdata_LIBRARY:FILEPATH=/usr/lib/libdcmdata.so

... whereas it should have been:
DCMTK_dcmdata_LIBRARY:FILEPATH=/path/to/Slicer-build/DCMTK-install/lib/libdcmdata.a


ITK commit 31bc608a [1] updated Modules/ThirdParty/DCMTK/CMake/FindDCMTK.cmake
so that default path are explicitly ignored when looking for DCMTK libraries.
This will ensure that the DCMTK library built by Slicer will be used.

The option NO_DEFAULT_PATH associated with the command "find_library" [2] is
now used.

Let's also note that the other "FindDCMTK.cmake" modules available in ITKv4
haven't been fixed and could lead to similar similar issue [3][4]. As of today,
this is probably not an issue within Slicer. Indeed, ITK is not built with
GDCM support and DCMTK seems not be used within VNL. (It means the associated
DCMTK cmake files should probably be removed.)

See http://www.na-mic.org/Bug/view.php?id=2883 and http://www.na-mic.org/Bug/view.php?id=2978
Fixes 0002883 and 0002978


[1] https://github.com/Kitware/ITK/commit/b9c473e241d46bc79d6750ffae73a112b0dcae7c
[2] http://www.cmake.org/cmake/help/v2.8.10/cmake.html#command:find_library
[3] ./Modules/ThirdParty/VNL/src/vxl/config/cmake/Modules/NewCMake/FindDCMTK.cmake
[4] ./Modules/ThirdParty/GDCM/src/gdcm/CMake/FindDCMTK.cmake

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21772 3bd1e089-480b-0410-8dfb-8563597acbee
mod - SuperBuild/External_ITKv4.cmake Diff File

2145-support-for-installing-extension-from-file 20be5b5a

2013-02-23 21:08:32

fedorov

Details Diff
BUG: account for the new location of the FM filter


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21771 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Scripted/EditorLib/FastMarchingEffect.py Diff File

2145-support-for-installing-extension-from-file 5ef360e2

2013-02-22 02:53:39

jcfr

Details Diff
COMP: Update modules to use WITH_GENERIC_TESTS and SlicerMacroConfigureModuleCxxTestDriver

Overall simplification of the CMakeLists related to Testing.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21770 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Extensions/Testing/LoadableExtensionTemplate/LoadableModuleTemplate/CMakeLists.txt Diff File
mod - Extensions/Testing/LoadableExtensionTemplate/LoadableModuleTemplate/Testing/Cxx/CMakeLists.txt Diff File
mod - Extensions/Testing/SuperBuildLoadableExtensionTemplate/CMakeLists.txt Diff File
mod - Extensions/Testing/SuperBuildLoadableExtensionTemplate/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Annotations/CMakeLists.txt Diff File
mod - Modules/Loadable/Annotations/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Cameras/CMakeLists.txt Diff File
mod - Modules/Loadable/Cameras/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Colors/CMakeLists.txt Diff File
mod - Modules/Loadable/Colors/Logic/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Colors/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/CropVolume/CMakeLists.txt Diff File
mod - Modules/Loadable/CropVolume/Testing/CMakeLists.txt Diff File
mod - Modules/Loadable/Data/CMakeLists.txt Diff File
rm - Modules/Loadable/Data/Testing/CMakeLists.txt Diff File
rm - Modules/Loadable/Data/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Data/Widgets/Testing/CMakeLists.txt Diff File
mod - Modules/Loadable/DoubleArrays/CMakeLists.txt Diff File
mod - Modules/Loadable/DoubleArrays/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Measurements/CMakeLists.txt Diff File
rm - Modules/Loadable/Measurements/Testing/CMakeLists.txt Diff File
rm - Modules/Loadable/Measurements/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Models/CMakeLists.txt Diff File
mod - Modules/Loadable/Models/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Models/Widgets/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/MultiVolumeRendering/CMakeLists.txt Diff File
rm - Modules/Loadable/MultiVolumeRendering/Testing/CMakeLists.txt Diff File
rm - Modules/Loadable/MultiVolumeRendering/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Reformat/CMakeLists.txt Diff File
rm - Modules/Loadable/Reformat/Testing/CMakeLists.txt Diff File
rm - Modules/Loadable/Reformat/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/SceneViews/CMakeLists.txt Diff File
mod - Modules/Loadable/SceneViews/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/SlicerWelcome/CMakeLists.txt Diff File
rm - Modules/Loadable/SlicerWelcome/Testing/CMakeLists.txt Diff File
rm - Modules/Loadable/SlicerWelcome/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/TractographyDisplay/CMakeLists.txt Diff File
mod - Modules/Loadable/TractographyDisplay/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/TractographyInteractiveSeeding/CMakeLists.txt Diff File
mod - Modules/Loadable/TractographyInteractiveSeeding/Testing/CMakeLists.txt Diff File
mod - Modules/Loadable/Transforms/CMakeLists.txt Diff File
mod - Modules/Loadable/Transforms/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/ViewControllers/CMakeLists.txt Diff File
rm - Modules/Loadable/ViewControllers/Testing/CMakeLists.txt Diff File
rm - Modules/Loadable/ViewControllers/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/VolumeRendering/CMakeLists.txt Diff File
mod - Modules/Loadable/VolumeRendering/Logic/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/VolumeRendering/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Volumes/CMakeLists.txt Diff File
mod - Modules/Loadable/Volumes/Testing/Cxx/CMakeLists.txt Diff File
mod - Modules/Loadable/Volumes/Widgets/Testing/Cxx/CMakeLists.txt Diff File

2145-support-for-installing-extension-from-file b51776e6

2013-02-22 02:53:27

jcfr

Details Diff
ENH: Add SlicerMacroConfigureModuleCxxTestDriver to simplify test configuration

This macro will take care of:
- creating the test driver executable. Using "SOURCES"
- setting the appropriate properties
- optionally linking to additional libraries. If "TARGET_LIBRARIES" is passed.
- optionally including list of directories. If "INCLUDE_DIRECTORIES" is passed.
- enabling VTK debug leaks detection if "WITH_VTK_DEBUG_LEAKS_CHECK" is passed.

It can also return the list of test to run if "TESTS_TO_RUN_VAR" is set.

This macro will make maintenance of testing framework easier and more
consistent.

The other advantages is that the content of the CMakeLists.txt declaring
tests is simpler and easier to understand.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21769 3bd1e089-480b-0410-8dfb-8563597acbee
add - CMake/SlicerMacroConfigureModuleCxxTestDriver.cmake Diff File
mod - CMake/UseSlicer.cmake.in Diff File
mod - CMakeLists.txt Diff File

2145-support-for-installing-extension-from-file ccf19a48

2013-02-22 02:53:25

jcfr

Details Diff
ENH: Add option WITH_GENERIC_TESTS to slicerMacroBuildQtModule

Instead of manually invoking "SlicerMacroConfigureGenericCxxModuleTests"
and then adding the associated test, specifying this new option
will auto-magically add the generic tests.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21768 3bd1e089-480b-0410-8dfb-8563597acbee
mod - CMake/SlicerMacroBuildQtModule.cmake Diff File
 First  Prev  1 2 3 ... 10 ... 20 ... 30 ... 38 39 40 41 42 43 44 ... 50 ... 55 56 57  Next  Last