Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcfr/minimalisticli
This project serves as an example of command line module (CLI) built against a Slicer build tree.
https://github.com/jcfr/minimalisticli
Last synced: 23 days ago
JSON representation
This project serves as an example of command line module (CLI) built against a Slicer build tree.
- Host: GitHub
- URL: https://github.com/jcfr/minimalisticli
- Owner: jcfr
- Created: 2012-03-20T03:36:24.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-21T06:47:44.000Z (over 12 years ago)
- Last Synced: 2024-04-16T07:02:53.306Z (7 months ago)
- Language: C++
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MinimalistiCli
==============Overview
--------This project serves as an example of command line module (CLI) built against a Slicer build tree.
Checkout, configure and build
-----------------------------```bash
$ git clone git://github.com/jcfr/MinimalistiCli.git
$ mkdir MinimalistiCli-build
$ cd MinimalistiCli-build
$ cmake -DSlicer_DIR:PATH=/path/to/Slicer-Superbuild-Debug/Slicer-build ../MinimalistiCli
$ make
```Run
---```bash
$ ./lib/Slicer-4.1/cli-modules/MinimalistiCli -r 1 -r 2
3
```Slicer integration
------------------### Method 1: Manually edit slicer settings
```bash
$ ./Slicer --settings-path
$ vi /home/jchris/.config/NA-MIC/Slicer.ini
```
As illustrated below, set or update `AdditionalPaths' settings. Note that this a comma separated list.```
[Modules]
AdditionalPaths=/home/jchris/Projects/MinimalistiCli-build/lib/Slicer-4.1/cli-modules
```### Method 2: Add module path within *Slicer application settings.*
1. Start Slicer
2. *Edit* -> *Application Settings* -> *Modules settings*
3. Under *Additional module paths*, click on **>>** button, then *Add* the following path:`/home/jchris/Projects/MinimalistiCli-build/lib/Slicer-4.1/cli-modules`