Hi,

MITK is based on CMake, so all project related changes need to be done in the 
CMake script. After that you can re-generate the Visual Studio solution to 
include your changes. Start by looking into [1]. After you understood the 
Example module you can start your own module by copying it or use it as a 
template if you do not prefer to copy & paste. Dont forget to include new 
modules in the ModuleList.cmake file (also see [1]).


Note that instead of writing your code in MITK or MITK-ProjectTemplate you are 
encouraged to create your MITK extension in your own repository and add it to 
MITK_EXTENSION_DIRS like it is elaborated in the README file of the 
MITK-ProjectTemplate. Always use the MITK-ProjectTemplate to see how things are 
done. It is a rather minimum example for the basic building blocks like modules 
and plugins.


Best,

Stefan


[1] https://github.com/MITK/MITK-ProjectTemplate/tree/master/Modules



________________________________
Von: Choy chee mun <choycheemu...@gmail.com>
Gesendet: Freitag, 27. März 2020 10:10
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] creating a new module

hi everyone,
i'm currently trying to make a new module of the MITK project and i have 
successfully cmake and build the project templates which included the workbench 
itself. now that i have done it, i kinda confuse of where can i start to create 
the module? should i create it in the MITK.sln? do i need to open a new project 
or a new cmake?

thank you.

regards,
Choy Chee Mun

_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to