Operating system: Red Hat Linux 7.6
Slicer version: 4.10.2
Expected behavior: A successful build of a test program
I would like to create my own C++ application that calls Slicer
functions with the C++ API.
From my reading of the documentation, it appears that to do this
I need to create a Loadable Module. I attempted to do this using the
Extension Wizard Module in Slicer.
The steps I took were:
Click ‘Create Extension’
Named my extension ‘SlicerTest’
Used Type ‘default’
Clicked ‘Add module to extension’
Named it ‘SlicerTest’
Went to /home/jtilton/src/SlicerPrograms/SlicerTest/SlicerTest
$ cmake …
Got the error:
CMake Error at Logic/CMakeLists.txt:20 (SlicerMacroBuildModuleLogic):
Unknown CMake command “SlicerMacroBuildModuleLogic”.
Where did I go wrong?
Am I completely off base, or did I just miss some small thing?