Skip to content
Snippets Groups Projects
Select Git revision
  • abab97dca446e2642520a57f0d371e511a3f5766
  • master default
2 results
An error occurred while fetching branches. Retry the search.
An error occurred while fetching tags. Retry the search.

CMakeLists.txt

Blame
  • Forked from ogs / ogs
    12426 commits behind the upstream repository.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    CMakeLists.txt 1.63 KiB
    set(TOOLS
        AddLayer
        appendLinesAlongPolyline
        checkMesh
        convertToLinearMesh
        CreateBoundaryConditionsAlongPolylines
        createLayeredMeshFromRasters
        createQuadraticMesh
        editMaterialID
        ExtractBoundary
        ExtractSurface
        MapGeometryToMeshSurface
        MoveMesh
        moveMeshNodes
        NodeReordering
        queryMesh
        removeMeshElements
        ResetPropertiesInPolygonalRegion
        reviseMesh
        swapNodeCoordinateAxes
        UnityPreprocessing
        Vtu2Grid)
    if(OGS_BUILD_GUI)
        add_executable(RemoveGhostData
            RemoveGhostData.cpp
            ${PROJECT_SOURCE_DIR}/ThirdParty/paraview/vtkCleanUnstructuredGrid.cpp)
        target_include_directories(RemoveGhostData
            PRIVATE ${PROJECT_SOURCE_DIR}/ThirdParty/paraview)
        target_link_libraries(RemoveGhostData GitInfoLib MeshLib)
        set_target_properties(RemoveGhostData PROPERTIES FOLDER Utilities)
        install(TARGETS RemoveGhostData RUNTIME DESTINATION bin COMPONENT Utilities)
    endif()
    foreach(TOOL ${TOOLS})
        add_executable(${TOOL} ${TOOL}.cpp)
        target_link_libraries(${TOOL} GitInfoLib MeshLib)
    endforeach()
    set_target_properties(${TOOLS} PROPERTIES FOLDER Utilities)
    install(TARGETS ${TOOLS} RUNTIME DESTINATION bin COMPONENT Utilities)
    
    target_link_libraries(appendLinesAlongPolyline MeshGeoToolsLib
                          ApplicationsFileIO)
    target_link_libraries(CreateBoundaryConditionsAlongPolylines MeshGeoToolsLib
                          ApplicationsFileIO)
    target_link_libraries(createLayeredMeshFromRasters ApplicationsFileIO)
    target_link_libraries(MapGeometryToMeshSurface MeshGeoToolsLib)
    target_link_libraries(ResetPropertiesInPolygonalRegion ApplicationsFileIO)