NIRALUser / DTIProcessToolkit

DTIProcess is a DTI processing and analysis toolkit developed in UNC and University of Utah
http://www.nitrc.org/projects/dtiprocess
Apache License 2.0
7 stars 8 forks source link

BUG: Fix loading of CLI modules when built as an extension. #15

Closed jcfr closed 8 years ago

jcfr commented 8 years ago

This commit partially fixes issue #14. It only addresses the loading of CLI executables built in the Applications folder. The CLI build in the "niral_utilities" project [1] would have to be updated to either

(1) use the macro "SEMMacroBuildCLI" so that configuring the "niral_utilities" project with SlicerExecutionModel_DEFAULTCLI(EXECUTABLE|LIBRARY)_LINK_FLAGS is effective

or

(2) explicitly set the linker flags on the executable.

Approach (1) is definitively recommended.