project(BRAINSTools)
set(LOCAL_PROJECT_NAME BRAINSTools)
cmake_minimum_required(VERSION 2.8)
cmake_policy(VERSION 2.8)

## Need to use local version that does not try to delete a local directory.
set(BRAINS_CMAKE_HELPER_DIR ${CMAKE_CURRENT_SOURCE_DIR}/BuildScripts)
include(${BRAINS_CMAKE_HELPER_DIR}/CMakeBuildMacros.cmake)

add_subdirectory(BRAINSCommonLib)
set(BRAINSCommonLib_DIR ${CMAKE_CURRENT_BINARY_DIR}/BRAINSCommonLib)
add_subdirectory(BRAINSFit)
add_subdirectory(BRAINSDemonWarp)
add_subdirectory(BRAINSROIAuto)
add_subdirectory(BRAINSResample)
