Import 2017-06-07 23:51:09: master f240d746

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-10-29 18:23:28 master e2a13021
Changeset

COMP: Fix DiffusionWeightedVolumeMaskingTest linker error

Changes in r24673 [1] cause a linker error when building
DiffusionWeightedVolumeMaskingTest in Visual Studio 2013:

1>------ Build started: Project: DiffusionWeightedVolumeMaskingTest, Configuration: Debug x64 ------
1>DiffusionWeightedVolumeMaskingTest.obj : error LNK2019: unresolved external symbol __imp_ModuleEntryPoint referenced in function "void __cdecl RegisterTests(void)" (?RegisterTests@@YAXXZ)
1>C:\dev\SD\Slicer-build\bin\Debug\DiffusionWeightedVolumeMaskingTest.exe : fatal error LNK1120: 1 unresolved externals

This commit reverts some of the changes to make the test build and run.

[1] http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=24673

From: Max Smolens <max.smolens@kitware.com>

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24677 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Modules/CLI/DiffusionWeightedVolumeMasking/Testing/CMakeLists.txt Diff File
mod - Modules/CLI/DiffusionWeightedVolumeMasking/Testing/DiffusionWeightedVolumeMaskingTest.cxx Diff File