Commit c45c5e64 authored by GILLES Sebastien's avatar GILLES Sebastien

#1248 CMake: aff the force load flag for tests.

parent 558eb66e
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestVariableTimeStep
)
target_link_libraries(MoReFEMTestVariableTimeStep
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEM_test_tools)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestColoring
)
target_link_libraries(MoReFEMTestColoring
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestColoring)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestCoordsInParallel
)
target_link_libraries(MoReFEMTestCoordsInParallel
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestCoordsInParallel)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestDomainListInCoords
)
target_link_libraries(MoReFEMTestDomainListInCoords
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestDomainListInCoords)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestLightweightDomainList
)
target_link_libraries(MoReFEMTestLightweightDomainList
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestLightweightDomainList)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestMovemesh
)
target_link_libraries(MoReFEMTestMovemesh
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestMovemesh)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestNcoordInDomain
)
target_link_libraries(MoReFEMTestNcoordInDomain
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestNcoordInDomain)
\ No newline at end of file
......@@ -10,6 +10,8 @@ add_executable(MoReFEMTestOndomatic
)
target_link_libraries(MoReFEMTestOndomatic
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestOndomatic)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestConformProjector
)
target_link_libraries(MoReFEMTestConformProjector
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestConformProjector)
\ No newline at end of file
......@@ -10,5 +10,7 @@ add_executable(MoReFEMTestFromVertexMatching
)
target_link_libraries(MoReFEMTestFromVertexMatching
${MOREFEM_MODEL}
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG}
MoReFEMPostProcessing_lib)
\ No newline at end of file
......@@ -6,7 +6,10 @@ add_executable(MoReFEMTestP1_to_P1b
)
target_link_libraries(MoReFEMTestP1_to_P1b
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
add_executable(MoReFEMTestP1_to_P2
......@@ -17,6 +20,8 @@ add_executable(MoReFEMTestP1_to_P2
)
target_link_libraries(MoReFEMTestP1_to_P2
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestP1_to_P2 MoReFEMTestP1_to_P1b)
\ No newline at end of file
......@@ -17,5 +17,7 @@ add_executable(MoReFEMTestOperatorTestFunctions
)
target_link_libraries(MoReFEMTestOperatorTestFunctions
${MOREFEM_MODEL}
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG}
MoReFEM_test_tools)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestParameterAtDof
)
target_link_libraries(MoReFEMTestParameterAtDof
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestParameterAtDof)
\ No newline at end of file
......@@ -7,6 +7,8 @@ add_executable(MoReFEMTestParameterTimeDependancy
)
target_link_libraries(MoReFEMTestParameterTimeDependancy
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestParameterTimeDependancy)
\ No newline at end of file
......@@ -4,6 +4,8 @@ add_executable(MoReFEMTestMpiErrorHandling
)
target_link_libraries(MoReFEMTestMpiErrorHandling
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestMpiErrorHandling)
\ No newline at end of file
......@@ -4,6 +4,8 @@ add_executable(MoReFEMTestMpiFunctions
)
target_link_libraries(MoReFEMTestMpiFunctions
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestMpiFunctions)
\ No newline at end of file
......@@ -4,7 +4,9 @@ add_executable(MoReFEMTestMpiSendReceiveSingleValue
)
target_link_libraries(MoReFEMTestMpiSendReceiveSingleValue
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
add_executable(MoReFEMTestMpiSendReceiveArray
${CMAKE_CURRENT_LIST_DIR}/InputParameterList.hpp
......@@ -12,6 +14,8 @@ add_executable(MoReFEMTestMpiSendReceiveArray
)
target_link_libraries(MoReFEMTestMpiSendReceiveArray
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestMpiSendReceiveSingleValue MoReFEMTestMpiSendReceiveArray)
\ No newline at end of file
......@@ -9,6 +9,9 @@ target_sources(MoReFEM_test_tools
"${CMAKE_CURRENT_LIST_DIR}/InitializeTestMoReFEMData.hxx"
)
target_link_libraries(MoReFEM_test_tools ${MOREFEM_MODEL})
target_link_libraries(MoReFEM_test_tools
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG}${MOREFEM_MODEL})
morefem_install(MoReFEM_test_tools)
\ No newline at end of file
......@@ -4,6 +4,8 @@ add_executable(MoReFEMTestInputParameterList
)
target_link_libraries(MoReFEMTestInputParameterList
${MOREFEM_MODEL})
${ALL_LOAD_BEGIN_FLAG}
${MOREFEM_MODEL}
${ALL_LOAD_END_FLAG})
morefem_install(MoReFEMTestInputParameterList)
\ No newline at end of file
Markdown is supported
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