Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcfr/minimalisticliwithoutslicer
This project serves as an example of command line module (CLI) built against a SlicerExecutionModel build tree.
https://github.com/jcfr/minimalisticliwithoutslicer
Last synced: 1 day ago
JSON representation
This project serves as an example of command line module (CLI) built against a SlicerExecutionModel build tree.
- Host: GitHub
- URL: https://github.com/jcfr/minimalisticliwithoutslicer
- Owner: jcfr
- Created: 2012-03-21T22:05:32.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2012-06-21T07:27:23.000Z (over 12 years ago)
- Last Synced: 2024-11-24T07:42:07.632Z (2 months ago)
- Language: C++
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MinimalistiCliWithoutSlicer
==============Overview
--------This project serves as an example of command line module (CLI) built against a SlicerExecutionModel build tree.
Prerequisites
-------------* Build SlicerExecutionModel using default options.
* We will assume ITK is built in `/home/jchris/Projects/ITKv3-build`
```bash
$ git clone git://github.com/Slicer/SlicerExecutionModel.git
$ mkdir SlicerExecutionModel-build
$ cmake -DITK_DIR:PATH=/home/jchris/Projects/ITKv3-build ../SlicerExecutionModel
$ make
```Checkout, configure and build
-----------------------------```bash
$ git clone git://github.com/jcfr/MinimalistiCliWithoutSlicer.git
$ mkdir MinimalistiCliWithoutSlicer-build
$ cd MinimalistiCliWithoutSlicer-build$ cmake -DSlicerExecutionModel_DIR:PATH=/home/jchris/Projects/SlicerExecutionModel-build/ ../MinimalistiCliWithoutSlicer
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/local/bin/gcc
-- Check for working C compiler: /usr/local/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/local/bin/c++
-- Check for working CXX compiler: /usr/local/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring SEM CLI module: MinimalistiCliWithoutSlicer
-- Defaulting RUNTIME_OUTPUT_DIRECTORY to bin
-- Defaulting LIBRARY_OUTPUT_DIRECTORY to lib
-- Defaulting ARCHIVE_OUTPUT_DIRECTORY to lib
-- Defaulting INSTALL_RUNTIME_DESTINATION to bin
-- Defaulting INSTALL_LIBRARY_DESTINATION to lib
-- Defaulting INSTALL_ARCHIVE_DESTINATION to lib
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jchris/Projects/MinimalistiCliWithoutSlicer-build$ make
[ 50%] Generating MinimalistiCliWithoutSlicerCLP.h
GenerateCLP --InputXML /home/jchris/Projects/MinimalistiCliWithoutSlicer/MinimalistiCliWithoutSlicer.xml --OutputCxx /home/jchris/Projects/MinimalistiCliWithoutSlicer-build/MinimalistiCliWithoutSlicerCLP.h
GenerateCLP: Found 1 parameters groups
GenerateCLP: Group "IO" has 2 parameters
Scanning dependencies of target MinimalistiCliWithoutSlicer
[100%] Building CXX object CMakeFiles/MinimalistiCliWithoutSlicer.dir/MinimalistiCliWithoutSlicer.cxx.o
Linking CXX executable /home/jchris/Projects/SlicerExecutionModel-build/bin/MinimalistiCliWithoutSlicer
[100%] Built target MinimalistiCliWithoutSlicer
```Run
---```bash
$ ./bin/MinimalistiCliWithoutSlicer -r 1 -r 2
3
```