#
#  Examples on the use of SpatialObjects.
#
PROJECT(sbiaDroid)

cmake_minimum_required(VERSION 2.4)

# setup output directories
SET ( RUNTIME_OUTPUT_DIRECTORY
    ${PROJECT_BINARY_DIR}/bin
    CACHE PATH
    "Single directory for all executables."
    )

# setup output directories
SET ( LIBRARY_OUTPUT_DIRECTORY
    ${PROJECT_BINARY_DIR}/lib
    CACHE PATH
    "Single directory for all Libraries."
    )

SET( EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin CACHE PATH "Single output directory for building all executables.")

SET( LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib CACHE PATH "Single output directory for building all executables.")

MARK_AS_ADVANCED (
    RUNTIME_OUTPUT_DIRECTORY
    LIBRARY_OUTPUT_DIRECTORY
    EXECUTABLE_OUTPUT_PATH
    LIBRARY_OUTPUT_PATH
    )

ADD_SUBDIRECTORY(dtidroid)
ADD_SUBDIRECTORY(DTITools)
ADD_SUBDIRECTORY(hammer)
ADD_SUBDIRECTORY(sbiaUtilities)
#ADD_SUBDIRECTORY(sbiaDti)
#ADD_SUBDIRECTORY(plugin)

ENABLE_TESTING()

IF (BUILD_TEST)
  ADD_SUBDIRECTORY(testing)
ENDIF (BUILD_TEST)

#CONFIGURE_FILE(
#  "${CMAKE_CURRENT_SOURCE_DIR}/cmake_install.cmake.in"
#  "${CMAKE_CURRENT_BINARY_DIR}/cmake_install.cmake"
#  IMMEDIATE @ONLY)

#install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/cmake_install.cmake)

