#
# $Id: CMakeLists.txt,v 1.1.1.1 2006/12/19 22:59:39 christianh Exp $
#
# The name of our project is "SVV_UTILS_SURFWARP".  CMakeLists files in this
# project can refer to the root source directory of the project as 
# ${SVV_UTILS_SURFWARP_SOURCE_DIR} and to the root binary directory of the
# project as ${SVV_UTILS_SURFWARP_BINARY_DIR}.
#
PROJECT (SVV_UTILS_SURFWARP)

# -----------------------------------------------------------------------------
IF (CMAKE_USE_PTHREADS)
   SET (VTK_HAS_THREADS 1)
ENDIF (CMAKE_USE_PTHREADS)

IF (CMAKE_USE_SPROC)
   SET (VTK_HAS_THREADS 1)
ENDIF (CMAKE_USE_SPROC)

IF (CMAKE_USE_WIN32_THREADS)
   SET (VTK_HAS_THREADS 1)
ENDIF (CMAKE_USE_WIN32_THREADS)

# -----------------------------------------------------------------------------
#IF (VTK_HAS_THREADS OR VTK_USE_MPI)

  SET (SVV_UTILS_SURFWARP_SRCS
    Warper0
    Warper1
    Warper2
    Warper3
    CreateWarpVectorSurface
    SurfaceWarp
    )

  ADD_EXECUTABLE (SurfaceWarp ${SVV_UTILS_SURFWARP_SRCS})

  TARGET_LINK_LIBRARIES (SurfaceWarp SvCommon vtkParallel)

  # ---------------------------------------------------------------------------
  # Add build output and installation paths.
  #
  INSTALL_TARGETS (${SVV_EXECUTABLE_DIR} SurfaceWarp)

#ENDIF (VTK_HAS_THREADS OR VTK_USE_MPI)

#
# End of: $Id: CMakeLists.txt,v 1.1.1.1 2006/12/19 22:59:39 christianh Exp $.
#
