[root]/Modules/CommandLineModule/Testing/HelloWorld

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 13 (100.0%) | 40 (100.0%) | 3.0 |
| barre | 7 (53.8%) | 29 (72.5%) | 4.1 |
| pieper | 3 (23.1%) | 11 (27.5%) | 3.6 |
| naucoin | 3 (23.1%) | 0 (0.0%) | 0.0 |
BUG: use HelloSlicer instead
0 lines of code changed in 3 files:
ENH: hide testing tricks inside a macro
1 lines of code changed in 1 file:
ENH: Plugins and Modules have specific location for their binairies/dll, different from the usual bin/ and lib/ (i.e. lib/Slicer3/Plugins, lib/Slicer3/Modules). This was achieved by setting LIBRARY_OUTPUT_PATH and EXECUTABLE_OUTPUT_PATH from the slicer3_set_default_modules_output_path and slicer3_set_default_plugins_output_path macro, but it is a dangerous practice to override a global variable, as it propagates to subtrees. As a result, SlicerTractographySeeding, which combines a module and a CLP in the same CMakeLists, was not built to the proper directory; ExtractSkeleton was not output in the right location either, and several tests ended up in Plugins instead of bin/ (GaussianBlurImageFilterTest, OrientImageTest). Fix this by creating a macro that will set the LIBRARY_OUTPUT_DIRECTORY and RUNTIME_OUTPUT_DIRECTORY explicitly on a *target* basis, using SET_TARGET_PROPERTIES. This removes the side-effects described above.
2 lines of code changed in 1 file:
ENH: added slicer3_install_modules and slicer3_install_plugins macro to hide the big INSTALL() command that was used to install plugins/modules; this is more elegant, and enable us to have better control on installation by modifying just one file.
1 lines of code changed in 1 file:
ENH: clean
1 lines of code changed in 1 file:
ENH: clean
24 lines of code changed in 2 files:
ENH: clean
0 lines of code changed in 1 file:
ENH: example command line module that can be built outside of slicer3
11 lines of code changed in 3 files: