Skip to content

Commit

Permalink
Add CMakeLists.txt for building slicer extension. radxtools#83
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhillyer committed Sep 9, 2020
1 parent 77fd6f7 commit d8be049
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit d8be049

Please sign in to comment.