# ------------------- Source files --------------------

add_library(
  PugsMesh
  CartesianMeshBuilder.cpp
  Connectivity.cpp
  ConnectivityComputer.cpp
  ConnectivityDispatcher.cpp
  GmshReader.cpp
  MeshBuilderBase.cpp
  SynchronizerManager.cpp)

# Additional dependencies
#add_dependencies(PugsMesh)

# ------------------- Installation --------------------
# temporary version workaround
if(${CMAKE_VERSION} VERSION_LESS "3.13.0")
  install(TARGETS PugsMesh
    RUNTIME DESTINATION bin
    LIBRARY DESTINATION lib
    ARCHIVE DESTINATION lib)
endif()
