CMakeLists.txt 1.1 KB

123456789101112131415161718192021222324252627
  1. cmake_minimum_required(VERSION 3.5)
  2. project(EMBRACE)
  3. #-----------------------------------------------------------------------------
  4. # Extension meta-information
  5. set(EXTENSION_HOMEPAGE "http://slicer.org/slicerWiki/index.php/Documentation/Nightly/Extensions/EMBRACE")
  6. set(EXTENSION_CATEGORY "Examples")
  7. set(EXTENSION_CONTRIBUTORS "John Doe (AnyWare Corp.)")
  8. set(EXTENSION_DESCRIPTION "This is an example of a simple extension")
  9. set(EXTENSION_ICONURL "http://www.example.com/Slicer/Extensions/EMBRACE.png")
  10. set(EXTENSION_SCREENSHOTURLS "http://www.example.com/Slicer/Extensions/EMBRACE/Screenshots/1.png")
  11. set(EXTENSION_DEPENDS "NA") # Specified as a space separated string, a list or 'NA' if any
  12. #-----------------------------------------------------------------------------
  13. # Extension dependencies
  14. find_package(Slicer REQUIRED)
  15. include(${Slicer_USE_FILE})
  16. #-----------------------------------------------------------------------------
  17. # Extension modules
  18. add_subdirectory(dataExplorer)
  19. ## NEXT_MODULE
  20. #-----------------------------------------------------------------------------
  21. include(${Slicer_EXTENSION_GENERATE_CONFIG})
  22. include(${Slicer_EXTENSION_CPACK})