From 07cf50de473beab28989d6ff32eeabfd9ed91578 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Wed, 13 Jun 2012 11:36:57 -0400 Subject: [PATCH] WIP: Notes on automatic libmumps.list generation --- CMakeLists.txt | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59501fe..d46c65d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,6 @@ function(load_source_list srcs_var listfile) endforeach() set(${srcs_var} "${srcs}" PARENT_SCOPE) endfunction() -message("lke_srcs=[${lke_srcs}]") load_source_list(gtcm_srcs sr_unix_cm/libgtcm.list) load_source_list(cmisockettcp_srcs sr_unix_gnp/libcmisockettcp.list) @@ -53,6 +52,20 @@ load_source_list(lke_srcs sr_unix/liblke.list) load_source_list(mupip_srcs sr_unix/libmupip.list) load_source_list(stub_srcs sr_unix/libstub.list) +load_source_list(mumps_srcs sr_x86_64/libmumps.list) +# TODO: Load libmumps leftovers automatically +# libmumps has everything not in source lists: +# *.c *.si *.s +# but excluding names hidden by earlier arch_path entries. +#set(all_srcs "") +#foreach(d ${arch_path}) +# file(GLOB all_srcs RELATIVE ${GTM_SOURCE_DIR} +# ${GTM_SOURCE_DIR}/${d}/*.c +# ${GTM_SOURCE_DIR}/${d}/*.si +# ${GTM_SOURCE_DIR}/${d}/*.s +# ) +#endforeach() + foreach(lib gtcm cmisockettcp