Added openblas add_library call that uses DBLAS_OBJS ojbects.

This commit is contained in:
Hank Anderson
2015-01-30 15:21:21 -06:00
parent 3e8ea7a351
commit 5057a4b4df
6 changed files with 27 additions and 7 deletions

View File

@@ -50,6 +50,7 @@ endfunction ()
function(GenerateObjects sources_in defines_in all_defines_in)
AllCombinations("${defines_in}")
set(define_combos ${LIST_OUT})
set(OBJ_LIST_OUT "")
foreach (source_file ${sources_in})
foreach (def_combo ${define_combos})
@@ -81,7 +82,9 @@ function(GenerateObjects sources_in defines_in all_defines_in)
if (cur_defines AND NOT "${cur_defines}" STREQUAL " ") # using space as the empty set
set_target_properties(${obj_name} PROPERTIES COMPILE_DEFINITIONS "${cur_defines}")
endif ()
list(APPEND OBJ_LIST_OUT ${obj_name})
endforeach ()
endforeach ()
set(OBJ_LIST_OUT ${OBJ_LIST_OUT} PARENT_SCOPE)
endfunction ()