Hi,

On 07/19/2011 07:54 AM, Clarkson, Matt wrote:
Hi there,

with regards to the new MITK external project template:

1. I can see how to add a plugin... but what about a Module (simple shared library). Is there anything I should be aware of?
Just Yesterday I pushed an example module to the MITK-ProjectTemplate repository. There is only one thing to look out for, if you already have customized an older version of the template:

https://github.com/MITK/MITK-ProjectTemplate/commit/07df24450b7f6f30420b8113b8f134a3bd0d5840

You might also want to have a look at the other commits from yesterday.

2. Are their any plans to make the destination of the AwesomeApp.app settable? I integrated my new MITK based app into our project, and our project has folders like bin, include, lib, doc etc. So, it would be nice if the new app was in the bin folder maybe?
In https://github.com/MITK/MITK-ProjectTemplate/blob/master/CMakeLists.txt starting at line 63 the default output directories are set. You could either change these lines or set the RUNTIME_OUTPUT_DIRECTORY property of the executable target.

3. Also, I can see in the CMake code that there is a script called RunInstalledApp.sh which only gets installed on Linux. However, I would like it on Mac, as using the GUI from the command line like:

AwesomeApp.sh image1.nii image2.nii

would be very useful, for people who prefer command lines. If there is no reason why it won't work, I could try this, and see how I get on.
The RunInstalledApp.sh is used for running deployed Linux-based packages. On Linux, we do not rely on RPATH for relocatable packages, but set the initial .so search paths inside this script by setting LD_LIBRARY_PATH. On MacOS, we use embedded relative paths during deployment (see the "otool") so setting environment variables is not necessary. It should be possible to call "AwesomeApp.app arg1 arg2 ..." directly.


Best,
Sascha
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to