diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..f901f6e --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,8 @@ +# 3D Slicer's extension build tool defines CollageRadiomics_BUILD_SLICER_EXTENSION:BOOL=ON +# to indicate that this project is being built as a 3D Slicer extension. +if (CollageRadiomics_BUILD_SLICER_EXTENSION) + message(STATUS "Building project as a Slicer extension") + project(CollageRadiomics) + add_subdirectory(slicer) + return() +endif()