Skip to content

Commit

Permalink
Merge pull request #363 from tjotaha/catalyst_vector_outputs
Browse files Browse the repository at this point in the history
Catalyst vector outputs
  • Loading branch information
gsjaardema authored Jan 19, 2023
2 parents e2aa920 + 376aaa5 commit 83b55f3
Show file tree
Hide file tree
Showing 121 changed files with 4,869 additions and 6,537 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ SET(PARAVIEW_PYTHON_LIBRARY_RPATH_DIRECTORY CACHE
FILEPATH "Path to the directory containing the Python library used by ParaView.")

IF(PARAVIEW_PYTHON_LIBRARY_RPATH_DIRECTORY)
CMAKE_POLICY(SET CMP0015 OLD)
LINK_DIRECTORIES(${PARAVIEW_PYTHON_LIBRARY_RPATH_DIRECTORY})
ENDIF()

Expand All @@ -37,16 +36,17 @@ IF("${isSystemDir}" STREQUAL "-1")
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
ENDIF()

TRIBITS_INCLUDE_DIRECTORIES("manager")
TRIBITS_INCLUDE_DIRECTORIES("parser")
TRIBITS_INCLUDE_DIRECTORIES("../../")
INCLUDE_DIRECTORIES("manager")
INCLUDE_DIRECTORIES("parser")
INCLUDE_DIRECTORIES("../../")

ADD_SUBDIRECTORY(manager)
ADD_SUBDIRECTORY(parser)
ADD_LIBRARY(${PVCSA_LIBRARY_NAME} SHARED manager/CatalystManager.cxx
manager/CatalystMeshWriter.cxx
exodus/CatalystExodusMesh.cxx
cgns/CatalystCGNSMesh.cxx)
TARGET_COMPILE_DEFINITIONS(${PVCSA_LIBRARY_NAME} PRIVATE __CATALYST_PLUGIN_BUILD)

TARGET_INCLUDE_DIRECTORIES(${PVCSA_LIBRARY_NAME}
PUBLIC
Expand All @@ -69,16 +69,11 @@ IF(BUILD_IOSS_2_CATALYST_APPLICATION)

SET(CMAKE_PREFIX_PATH ${SEACAS_INSTALL_DIR} ${CMAKE_PREFIX_PATH})
FIND_PACKAGE(SEACAS REQUIRED)
FIND_PACKAGE(HDF5 REQUIRED)

IF(SEACAS_FOUND)
IF("CGNS" IN_LIST SEACAS_TPL_LIST)
ADD_SUBDIRECTORY(ioss2catalyst)
ENABLE_TESTING()
ADD_SUBDIRECTORY(test)
ELSE()
MESSAGE(FATAL_ERROR "Must build SEACAS with CGNS TPL enabled.")
ENDIF()
ADD_SUBDIRECTORY(ioss2catalyst)
ENABLE_TESTING()
ADD_SUBDIRECTORY(test)
ENDIF()
ENDIF()

Expand Down

This file was deleted.

Loading

0 comments on commit 83b55f3

Please sign in to comment.