From 79a8046400aef496656f33c544b5b173c9f2be0d Mon Sep 17 00:00:00 2001 From: Berenger Bramas <Berenger.Bramas@inria.fr> Date: Fri, 27 Nov 2015 11:43:06 +0100 Subject: [PATCH] compile all hmat by make hmat --- Addons/HMat/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Addons/HMat/CMakeLists.txt b/Addons/HMat/CMakeLists.txt index 05c2079de..11863aa75 100644 --- a/Addons/HMat/CMakeLists.txt +++ b/Addons/HMat/CMakeLists.txt @@ -49,6 +49,7 @@ if(SCALFMM_ADDON_HMAT) INCLUDE_DIRECTORIES( ${CMAKE_BINARY_DIR}/Src ) # Then build test files + SET(hmat_list_execs "") foreach(exec ${source_tests_files}) get_filename_component( execname ${exec} @@ -79,6 +80,9 @@ if(SCALFMM_ADDON_HMAT) # ${LAPACK_LIBRARIES} ${SCALFMM_LIBRARIES} ) + LIST(APPEND hmat_list_execs ${execname}) endif() endforeach(exec) + + add_custom_target(hmat DEPENDS ${hmat_list_execs}) endif() -- GitLab