Commit aee031f0 authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[cmake] use empty parantheses after endif according to current style

conventions

Reviewed by gruenich.



git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15185 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent fff05448
......@@ -88,7 +88,7 @@ function(dune_symlink_to_source_tree)
get_filename_component(dir ${f} DIRECTORY)
if(NOT "${CMAKE_SOURCE_DIR}/${dir}" MATCHES "${CMAKE_BINARY_DIR}/*")
execute_process(COMMAND ${CMAKE_COMMAND} "-E" "create_symlink" "${CMAKE_SOURCE_DIR}/${dir}" "${CMAKE_BINARY_DIR}/${dir}/${ARG_NAME}")
endif(NOT "${CMAKE_SOURCE_DIR}/${dir}" MATCHES "${CMAKE_BINARY_DIR}/*")
endif()
endforeach()
endif()
endfunction(dune_symlink_to_source_tree)
......
......@@ -33,7 +33,7 @@ macro(add_dumux_test dumux_test dumux_test_executable dumux_test_executable_sour
# check whether executable already exists
if(NOT TARGET ${dumux_test_executable})
add_executable(${dumux_test_executable} ${dumux_test_executable_source})
endif(NOT TARGET ${dumux_test_executable})
endif()
# link all libraries to executable, add all flags
add_dumux_all_flags(${dumux_test_executable})
......
......@@ -28,7 +28,7 @@ else()
--files ${CMAKE_SOURCE_DIR}/test/references/test_impes-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/test_impeswithamg-00009.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_impeswithamg")
endif(MPI_FOUND)
endif()
add_dumux_test(test_transport test_transport test_transport.cc
python ${CMAKE_SOURCE_DIR}/bin/runtest.py
......
......@@ -14,4 +14,4 @@ if(MPI_FOUND)
--files ${CMAKE_SOURCE_DIR}/test/references/el2p-parallel-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/s0004-p0001-el2p-00003.vtu
--command "${MPIEXEC} -np 4 ${CMAKE_CURRENT_BINARY_DIR}/test_el2p_parallel ${CMAKE_CURRENT_SOURCE_DIR}/grids/test_el2p.dgf 100 200 100")
endif(MPI_FOUND)
endif()
......@@ -60,7 +60,7 @@ add_dumux_test(test_box2pni test_box2pni test_box2pni.cc
--files ${CMAKE_SOURCE_DIR}/test/references/injection2pnibox-cube-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/injection2pnibox-00008.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_box2pni")
endif(HAVE_UG)
endif()
if(HAVE_UG)
add_dumux_test(test_cc2pni test_cc2pni test_cc2pni.cc
......@@ -76,4 +76,4 @@ add_dumux_test(test_cc2pni test_cc2pni test_cc2pni.cc
--files ${CMAKE_SOURCE_DIR}/test/references/injection2pnicc-cube-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/injection2pnicc-00009.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_cc2pni")
endif(HAVE_UG)
endif()
......@@ -15,7 +15,7 @@ else()
--files ${CMAKE_SOURCE_DIR}/test/references/richardslensbox-reference.vtu
${CMAKE_CURRENT_BINARY_DIR}/richardslensbox-00008.vtu
--command "${CMAKE_CURRENT_BINARY_DIR}/test_boxrichards")
endif(MPI_CXX_FOUND)
endif()
add_dumux_test(test_ccrichards test_ccrichards test_ccrichards.cc
python ${CMAKE_SOURCE_DIR}/bin/runtest.py
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment