Skip to content
Snippets Groups Projects
CMakeLists.txt 814 B
Newer Older
  • Learn to ignore specific revisions
  • set(programs compute-disc-error
                 cosserat-continuum
    
    #            rodobstacle)
    
    if (${DUNE_COMMON_VERSION} VERSION_GREATER_EQUAL 2.8)
      set (programs rod3d ${programs})
    endif()
    
    if (${DUNE_ELASTICITY_VERSION} VERSION_GREATER_EQUAL 2.8)
      set(programs film-on-substrate-stress-plot ${programs})
    endif()
    
    if (dune-parmg_FOUND AND dune-curvedgeometry_FOUND AND ${DUNE_ELASTICITY_VERSION} VERSION_GREATER_EQUAL 2.8)
    
    	set(programs film-on-substrate ${programs})
    endif()
    
    Oliver Sander's avatar
    Oliver Sander committed
    foreach(_program ${programs})
      add_executable(${_program} ${_program}.cc)
    
      target_link_dune_default_libraries(${_program})
    
    Oliver Sander's avatar
    Oliver Sander committed
      add_dune_pythonlibs_flags(${_program})
    
      target_link_libraries(${_program} tinyxml2)
    
    Oliver Sander's avatar
    Oliver Sander committed
    #  target_compile_options(${_program} PRIVATE "-fpermissive")
    endforeach()