Skip to content

Commit

Permalink
Merge pull request SimVascular#1032 from ktbolt/Add-writing-XML-svFSI…
Browse files Browse the repository at this point in the history
…-Tool_1016

Add writing xml sv fsi tool 1016
  • Loading branch information
ktbolt authored Aug 3, 2023
2 parents 60094d1 + e70b499 commit edd1fc7
Show file tree
Hide file tree
Showing 18 changed files with 6,263 additions and 37 deletions.
1 change: 1 addition & 0 deletions Code/CMake/SimVascularInternals.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ set(SV_LIBS ${SV_LIBS}
THIRDPARTY_VMTK
THIRDPARTY_ZLIB
THIRDPARTY_TINYXML
THIRDPARTY_TINYXML2
THIRDPARTY_SOLVERIO)

# Module libs
Expand Down
1 change: 1 addition & 0 deletions Code/CMake/SimVascularOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ option(SV_USE_TETGEN "Enable Tetgen Meshing Plugin" ON)
option(SV_USE_TETGEN_ADAPTOR "Option to use open source mesh adaption" ON)

option(SV_USE_TINYXML "Use TinyXML" ON)
option(SV_USE_TINYXML2 "Use TinyXML2" ON)

option(SV_USE_PYTHON "Use Python" ON)

Expand Down
4 changes: 4 additions & 0 deletions Code/CMake/SimVascularThirdParty.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ if(SV_USE_TINYXML)
else()
unset(TINYXML_LIBRARY CACHE)
endif()

simvascular_third_party(tinyxml2)
set(TINYXML2_LIBRARY ${SV_LIB_THIRDPARTY_TINYXML2_NAME})

#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions Code/Source/sv4gui/Modules/svFSI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ simvascular_create_module(
LIBRARY_DEPENDS
${MITK_LIBRARIES}
${ITK_LIBRARIES}
${TINYXML2_LIBRARY_NAME}
${QT_LIBRARIES})
#-----------------------------------------------------------------------------

include_directories(${TINYXML_INCLUDE_DIR})
include_directories(${SV_SOURCE_DIR}/ThirdParty/tinyxml2/simvascular_tinyxml2)

if(SV_INSTALL_LIBS)
install(TARGETS ${lib}
Expand Down
2 changes: 2 additions & 0 deletions Code/Source/sv4gui/Modules/svFSI/files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ set(H_FILES
sv4gui_MitksvFSIJob.h
sv4gui_MitksvFSIJobIO.h
sv4gui_MitksvFSIObjectFactory.h
sv4gui_XmlWriter.h
)

set(CPP_FILES
Expand All @@ -46,6 +47,7 @@ set(CPP_FILES
sv4gui_MitksvFSIJob.cxx
sv4gui_MitksvFSIJobIO.cxx
sv4gui_MitksvFSIObjectFactory.cxx
sv4gui_XmlWriter.cxx
)

set(RESOURCE_FILES
Expand Down
Loading

0 comments on commit edd1fc7

Please sign in to comment.