Skip to content
Snippets Groups Projects
Commit b1bda1df authored by Karsten Rink's avatar Karsten Rink Committed by Lars Bilke
Browse files

cli

parent 87d7312e
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,43 @@ if(TARGET ConvertSHPToGLI)
target_link_libraries(ConvertSHPToGLI GeoLib Qt5::Xml ${Shapelib_LIBRARIES})
endif()
if(TARGET Mesh2Shape)
target_link_libraries(Mesh2Shape ${Shapelib_LIBRARIES})
add_executable(OGS2VTK OGS2VTK.cpp)
set_target_properties(OGS2VTK PROPERTIES FOLDER Utilities)
target_link_libraries(OGS2VTK MeshLib)
ADD_VTK_DEPENDENCY(OGS2VTK)
add_executable(VTK2OGS VTK2OGS.cpp)
set_target_properties(VTK2OGS PROPERTIES FOLDER Utilities)
target_link_libraries(VTK2OGS MeshLib)
ADD_VTK_DEPENDENCY(VTK2OGS)
add_executable(VTK2TIN VTK2TIN.cpp)
set_target_properties(VTK2TIN PROPERTIES FOLDER Utilities)
target_link_libraries(VTK2TIN MeshLib)
ADD_VTK_DEPENDENCY(VTK2TIN)
add_executable(TIN2VTK TIN2VTK.cpp)
set_target_properties(TIN2VTK PROPERTIES FOLDER Utilities)
target_link_libraries(TIN2VTK MeshLib)
ADD_VTK_DEPENDENCY(TIN2VTK)
add_executable(NetCdfConverter NetCdfConverter.cpp)
set_target_properties(NetCdfConverter PROPERTIES FOLDER Utilities)
target_link_libraries(NetCdfConverter MeshLib)
ADD_VTK_DEPENDENCY(NetCdfConverter)
####################
### Installation ###
####################
install(TARGETS generateMatPropsFromMatID GMSH2OGS OGS2VTK VTK2OGS VTK2TIN
RUNTIME DESTINATION bin COMPONENT ogs_converter)
if(Qt5XmlPatterns_FOUND)
if(Shapelib_FOUND)
install(TARGETS ConvertSHPToGLI
RUNTIME DESTINATION bin COMPONENT ogs_converter)
endif()
install(TARGETS FEFLOW2OGS convertGEO
RUNTIME DESTINATION bin COMPONENT ogs_converter)
endif()
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment