project(DTIProcess)
cmake_minimum_required(VERSION 2.8.7)

include(${CMAKE_CURRENT_SOURCE_DIR}/Common.cmake)

option( DTIProcess_SUPERBUILD
        "Build DTIProcess as a Superbuild project" ON )
if( DTIProcess_SUPERBUILD )
  include("${CMAKE_CURRENT_SOURCE_DIR}/SuperBuild.cmake")
else()
  include("${CMAKE_CURRENT_SOURCE_DIR}/DTIProcess.cmake")
endif()



cmake_minimum_required(VERSION 2.8.7)

option( DTIProcess_SUPERBUILD
        "Build DTIProcess as a Superbuild project" ON )
if( DTIProcess_SUPERBUILD )
  project(DTIProcessToolkit)
  include(${CMAKE_CURRENT_SOURCE_DIR}/Common.cmake)
  include("${CMAKE_CURRENT_SOURCE_DIR}/SuperBuild.cmake")
else()
  project(DTIProcess)
  include(${CMAKE_CURRENT_SOURCE_DIR}/Common.cmake)
  include("${CMAKE_CURRENT_SOURCE_DIR}/DTIProcess.cmake")
endif()


Set the project name and include the common file
BUG: Set the project name and include the common file

Set the superbuild project differently for the superbuild and the inner build
