PROJECT(Xdmf)

INCLUDE_DIRECTORIES(
  ${Xdmf_SOURCE_DIR}/Ice
  ${Xdmf_BINARY_DIR}/Ice
  ${Xdmf_SOURCE_DIR}/libsrc
  ${Xdmf_BINARY_DIR}/libsrc
  ${Xdmf_SOURCE_DIR}/vtk
  ${Xdmf_BINARY_DIR}/vtk
  ${VTK_SOURCE_DIR}
  ${VTK_BINARY_DIR}
  ${VTK_SOURCE_DIR}/Common
  ${VTK_BINARY_DIR}/Common
  ${VTK_SOURCE_DIR}/IO
  ${VTK_BINARY_DIR}/IO
  ${VTK_SOURCE_DIR}/Rendering
  ${VTK_BINARY_DIR}/Rendering
  )
SUBDIRS(Ice)
SUBDIRS(libsrc)
SUBDIRS(vtk)

PROJECT(Xdmf)

SET(HDF5_LIBRARY vtkhdf5)
IF(VTK_USE_SYSTEM_EXPAT)
  SET(XDMF_EXPAT_LIBRARIES EXPAT_LIBRARY)
ELSE(VTK_USE_SYSTEM_EXPAT)
  SET(XDMF_EXPAT_LIBRARIES vtkexpat)
ENDIF(VTK_USE_SYSTEM_EXPAT)

INCLUDE_DIRECTORIES(
  ${Xdmf_SOURCE_DIR}/Ice
  ${Xdmf_BINARY_DIR}/Ice
  ${Xdmf_SOURCE_DIR}/libsrc
  ${Xdmf_BINARY_DIR}/libsrc
  ${Xdmf_SOURCE_DIR}/vtk
  ${Xdmf_BINARY_DIR}/vtk
  ${VTK_SOURCE_DIR}
  ${VTK_BINARY_DIR}
  ${VTK_SOURCE_DIR}/Common
  ${VTK_BINARY_DIR}/Common
  ${VTK_SOURCE_DIR}/IO
  ${VTK_BINARY_DIR}/IO
  ${VTK_SOURCE_DIR}/Rendering
  ${VTK_BINARY_DIR}/Rendering
  ${VTK_SOURCE_DIR}/Utilities/expat
  ${VTK_BINARY_DIR}/Utilities/expat
  ${VTK_BINARY_DIR}
  ${ParaView_SOURCE_DIR}/Utilities/hdf5
  ${ParaView_BINARY_DIR}/Utilities/hdf5
  )
SUBDIRS(Ice)
SUBDIRS(libsrc)
SUBDIRS(vtk)

Fix build of xdmf on windows
ENH: Fix build of xdmf on windows
