How to compile MRML library

I’m trying to separate MRML library from Slicer and be able to build it separtely. So far I’ve gotten Slicer source code and used CMake to create VS solution files but I cannot find the MRML project or any of the other projects in libs folder.
I checked CMake settings to see if I didn’t enable something but could not find anything relevant to MRML.
As a first step I’d like to build MRML library as part of slicer, then I would like to build MRML separately.
Any help with this would be appreciated.

As a side note, I’m not able to see any of the classes in Class View or even source code files in Solution Explorer in visual studio but I do see the projects such as itk, phyton-*, slicer, etc…
image
image

Awesome! @jcfr is working on exactly this - making MRML easy to build independently from Slicer and make it available in Python and JavaScript. I’m not sure about the exact timeline, but probably it will be ready for testing within weeks.

What you show is the “superbuild” of Slicer (its dependencies) and not the inner build of Slicer. You need to open the solution file that is 1 level down the tree.

@AlexyPellegrini will soon update his draft PR. Without additional funding, we expect something stable (yet limited to the core of Slicer) by the end of the year.

1 Like

Glad to hear about the MRML being made an independent library. Will wait for it.

@finetjul can you tell me the name of the solution to open in the tree. There are so many, I tried opening SlicerExecutionModel but that doesn’t seem to be the right one.

should be Slicer-build

1 Like